remove debug print
This commit is contained in:
1 parent
71125c22e0
commit
82fc7acaa5
1 file changed
-3
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user