mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-06-09 14:07:45 +02:00
ignore: fix typo
This commit is contained in:
parent
45473ba48f
commit
651a0f1ddf
@ -234,7 +234,7 @@ impl Gitignore {
|
|||||||
return Match::None;
|
return Match::None;
|
||||||
}
|
}
|
||||||
let mut path = self.strip(path.as_ref());
|
let mut path = self.strip(path.as_ref());
|
||||||
assert!(!path.has_root(), "path is expect to be under the root");
|
assert!(!path.has_root(), "path is expected to be under the root");
|
||||||
|
|
||||||
match self.matched_stripped(path, is_dir) {
|
match self.matched_stripped(path, is_dir) {
|
||||||
Match::None => (), // walk up
|
Match::None => (), // walk up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user