1
0
Эх сурвалжийг харах

fix: change error println to eprintln

Miles Murgaw 2 жил өмнө
parent
commit
8cf6f60e93

+ 1 - 1
src/cli/autoformat/mod.rs

@@ -57,7 +57,7 @@ impl Autoformat {
                             println!("formatted {}", file);
                         }
                         Err(e) => {
-                            println!("failed to write formatted content to file: {}", e);
+                            eprintln!("failed to write formatted content to file: {}", e);
                         }
                     }
                 }