Skip to content

Commit

Permalink
fix(cli): Actually run single-threaded
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 7, 2024
1 parent 53a7a51 commit ad80305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/typos-cli/src/bin/typos-cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ fn run_checks(args: &args::Args) -> proc_exit::ExitResult {
let single_threaded = threads == 1;

let mut walk = ignore::WalkBuilder::new(path);
walk.threads(args.threads)
walk.threads(threads)
.skip_stdout(true)
.hidden(walk_policy.ignore_hidden())
.ignore(walk_policy.ignore_dot())
Expand Down

0 comments on commit ad80305

Please sign in to comment.