Merge pull request #503 from epage/stdout

fix(cli): Skip files that stdout is writing to
This commit is contained in:
Ed Page 2022-06-16 14:10:36 -05:00 committed by GitHub
commit da0b5fe45b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,6 +181,7 @@ fn run_checks(
let mut walk = ignore::WalkBuilder::new(path);
walk.threads(args.threads)
.skip_stdout(true)
.hidden(walk_policy.ignore_hidden())
.ignore(walk_policy.ignore_dot())
.git_global(walk_policy.ignore_global())