We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f212b0a commit 948196aCopy full SHA for 948196a
README.md
@@ -38,6 +38,7 @@ quite tricky.
38
## Usage
39
40
`$ treefmt --help`
41
+
42
```
43
treefmt 0.2.3
44
✨ format all your language!
src/engine.rs
@@ -189,6 +189,9 @@ pub fn run_treefmt(
189
} else {
190
let start_time = Instant::now();
191
192
+ // Run the formatter
193
+ formatter.clone().fmt(&paths)?;
194
195
// Get the new mtimes and compare them to the original ones
196
let new_paths = paths
197
.clone()
@@ -200,8 +203,6 @@ pub fn run_treefmt(
200
203
sum
201
204
});
202
205
- formatter.clone().fmt(&paths)?;
-
206
info!(
207
"{}: {} files processed in {:.2?}",
208
formatter.name,
0 commit comments