瀏覽代碼

fix: change error println to eprintln

Miles Murgaw 2 年之前
父節點
當前提交
8cf6f60e93
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/cli/autoformat/mod.rs

+ 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);
                         }
                     }
                 }