Skip to content

Commit c0ca3f6

Browse files
committed
Print relative path of package manifest
1 parent 3a4fc4d commit c0ca3f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/check/manifest.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ pub async fn check(
3535
Diagnostic::error()
3636
.with_code("manifest/io")
3737
.with_message(format!(
38-
"Failed to read manifest contents ({}). {}",
39-
manifest_path.display(),
40-
e
38+
"Failed to read manifest contents (typst.toml). {e}"
4139
))
4240
})?;
4341
let manifest = toml_edit::Document::parse(&manifest_contents)

0 commit comments

Comments
 (0)