mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
fix(cli): Actually run single-threaded
This commit is contained in:
parent
53a7a51171
commit
ad80305210
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue