Skip to content

Commit

Permalink
Merge pull request #285 from a-kenji/fix/formatting
Browse files Browse the repository at this point in the history
chore: treefmt
  • Loading branch information
Mic92 authored May 2, 2024
2 parents 4dd19e6 + 407c81a commit e514573
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ pub fn run_treefmt(
let start_time = Instant::now();

// Run the formatter
paths.par_chunks(1024).try_for_each(|path_chunks| {
formatter.clone().fmt(path_chunks)
})?;
paths
.par_chunks(1024)
.try_for_each(|path_chunks| formatter.clone().fmt(path_chunks))?;

// Get the new mtimes and compare them to the original ones
let new_paths = paths
Expand Down

0 comments on commit e514573

Please sign in to comment.