Skip to content

Commit ad80305

Browse files
committed
fix(cli): Actually run single-threaded
1 parent 53a7a51 commit ad80305

File tree

1 file changed

+1
-1
lines changed
  • crates/typos-cli/src/bin/typos-cli

1 file changed

+1
-1
lines changed

crates/typos-cli/src/bin/typos-cli/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ fn run_checks(args: &args::Args) -> proc_exit::ExitResult {
225225
let single_threaded = threads == 1;
226226

227227
let mut walk = ignore::WalkBuilder::new(path);
228-
walk.threads(args.threads)
228+
walk.threads(threads)
229229
.skip_stdout(true)
230230
.hidden(walk_policy.ignore_hidden())
231231
.ignore(walk_policy.ignore_dot())

0 commit comments

Comments
 (0)