fix(cli): Actually run single-threaded

This commit is contained in:
Ed Page 2024-02-07 16:03:03 -06:00
parent 53a7a51171
commit ad80305210

View file

@ -225,7 +225,7 @@ fn run_checks(args: &args::Args) -> proc_exit::ExitResult {
let single_threaded = threads == 1; let single_threaded = threads == 1;
let mut walk = ignore::WalkBuilder::new(path); let mut walk = ignore::WalkBuilder::new(path);
walk.threads(args.threads) walk.threads(threads)
.skip_stdout(true) .skip_stdout(true)
.hidden(walk_policy.ignore_hidden()) .hidden(walk_policy.ignore_hidden())
.ignore(walk_policy.ignore_dot()) .ignore(walk_policy.ignore_dot())