diff options
author | Aleksey Kladov <[email protected]> | 2021-03-08 18:41:45 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-03-08 18:45:43 +0000 |
commit | c0943f84fdb67025662dbcfc011e415870ee80a6 (patch) | |
tree | 1222248992d94c882a34fe3a40096d308d127c4a /xtask/src | |
parent | e89c0e39613e381da45b6a774c6666dcc3e632a2 (diff) |
Cleanup the error message
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/codegen.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |