mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
remove debug print
This commit is contained in:
parent
71125c22e0
commit
82fc7acaa5
1 changed files with 0 additions and 3 deletions
|
@ -46,7 +46,6 @@ impl Autoformat {
|
||||||
|
|
||||||
// Default to formatting the project
|
// Default to formatting the project
|
||||||
if raw.is_none() && file.is_none() {
|
if raw.is_none() && file.is_none() {
|
||||||
println!("format project !");
|
|
||||||
if let Err(e) = autoformat_project(check, split_line_attributes, do_rustfmt).await {
|
if let Err(e) = autoformat_project(check, split_line_attributes, do_rustfmt).await {
|
||||||
eprintln!("error formatting project: {}", e);
|
eprintln!("error formatting project: {}", e);
|
||||||
exit(1);
|
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 edits = dioxus_autofmt::fmt_file(&contents, indent);
|
||||||
let len = edits.len();
|
let len = edits.len();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue