diff options
-rw-r--r-- | crates/test_utils/src/lib.rs | 2 | ||||
-rw-r--r-- | xtask/src/codegen.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/test_utils/src/lib.rs b/crates/test_utils/src/lib.rs index dd582c77c..6041ab5e4 100644 --- a/crates/test_utils/src/lib.rs +++ b/crates/test_utils/src/lib.rs | |||
@@ -377,7 +377,7 @@ pub fn try_ensure_file_contents(file: &Path, contents: &str) -> Result<(), ()> { | |||
377 | display_path.display() | 377 | display_path.display() |
378 | ); | 378 | ); |
379 | if is_ci() { | 379 | 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"); |
381 | } | 381 | } |
382 | if let Some(parent) = file.parent() { | 382 | if let Some(parent) = file.parent() { |
383 | let _ = std::fs::create_dir_all(parent); | 383 | let _ = std::fs::create_dir_all(parent); |
diff --git a/xtask/src/codegen.rs b/xtask/src/codegen.rs index e43d4fa73..2cf3c6fdc 100644 --- a/xtask/src/codegen.rs +++ b/xtask/src/codegen.rs | |||
@@ -56,7 +56,7 @@ pub(crate) fn ensure_file_contents(file: &Path, contents: &str) -> Result<()> { | |||
56 | display_path.display() | 56 | display_path.display() |
57 | ); | 57 | ); |
58 | if std::env::var("CI").is_ok() { | 58 | 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"); |
60 | } | 60 | } |
61 | if let Some(parent) = file.parent() { | 61 | if let Some(parent) = file.parent() { |
62 | let _ = std::fs::create_dir_all(parent); | 62 | let _ = std::fs::create_dir_all(parent); |