Skip to content

Commit c0943f8

Browse files
committed
Cleanup the error message
1 parent e89c0e3 commit c0943f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/test_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ pub fn try_ensure_file_contents(file: &Path, contents: &str) -> Result<(), ()> {
377377
display_path.display()
378378
);
379379
if is_ci() {
380-
eprintln!("\n NOTE: run `cargo test` locally and commit the updated files\n");
380+
eprintln!(" NOTE: run `cargo test` locally and commit the updated files\n");
381381
}
382382
if let Some(parent) = file.parent() {
383383
let _ = std::fs::create_dir_all(parent);

xtask/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub(crate) fn ensure_file_contents(file: &Path, contents: &str) -> Result<()> {
5656
display_path.display()
5757
);
5858
if std::env::var("CI").is_ok() {
59-
eprintln!("\n NOTE: run `cargo test` locally and commit the updated files\n");
59+
eprintln!(" NOTE: run `cargo test` locally and commit the updated files\n");
6060
}
6161
if let Some(parent) = file.parent() {
6262
let _ = std::fs::create_dir_all(parent);

0 commit comments

Comments
 (0)