Skip to content

Commit

Permalink
ripgrep: don't skip stdout in --files mode
Browse files Browse the repository at this point in the history
Specifically, this avoids triggering Windows antimalware when in --files mode.

See also #600.

Fixes #1121
  • Loading branch information
roblourens authored and BurntSushi committed Jan 24, 2019
1 parent 519a6b6 commit 4691d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ impl ArgMatches {
.max_filesize(self.max_file_size()?)
.threads(self.threads()?)
.same_file_system(self.is_present("one-file-system"))
.skip_stdout(true)
.skip_stdout(!self.is_present("files"))
.overrides(self.overrides()?)
.types(self.types()?)
.hidden(!self.hidden())
Expand Down

0 comments on commit 4691d11

Please sign in to comment.