mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
Remove trivial condition.
This commit is contained in:
parent
97e6873b38
commit
c4633ff187
@ -307,7 +307,7 @@ impl<'a, R: io::Read, W: WriteColor> Searcher<'a, R, W> {
|
|||||||
} else if self.opts.files_with_matches {
|
} else if self.opts.files_with_matches {
|
||||||
self.printer.path(self.path);
|
self.printer.path(self.path);
|
||||||
}
|
}
|
||||||
} else if self.match_count == 0 && self.opts.files_without_matches {
|
} else if self.opts.files_without_matches {
|
||||||
self.printer.path(self.path);
|
self.printer.path(self.path);
|
||||||
}
|
}
|
||||||
Ok(self.match_count)
|
Ok(self.match_count)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user