فهرست منبع

remove debug print

Dangerise 1 سال پیش
والد
کامیت
82fc7acaa5
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      packages/cli/src/cli/autoformat.rs

+ 0 - 3
packages/cli/src/cli/autoformat.rs

@@ -46,7 +46,6 @@ impl Autoformat {
 
         // Default to formatting the project
         if raw.is_none() && file.is_none() {
-            println!("format project !");
             if let Err(e) = autoformat_project(check, split_line_attributes, do_rustfmt).await {
                 eprintln!("error formatting project: {}", e);
                 exit(1);
@@ -131,8 +130,6 @@ fn format_file(path: impl AsRef<Path>, indent: IndentOptions, do_rustfmt: bool)
         }
     }
 
-    println!("at {} : {:#?}", path.as_ref().display(), &contents);
-
     let edits = dioxus_autofmt::fmt_file(&contents, indent);
     let len = edits.len();