mirror of https://github.com/sharkdp/fd.git
Workaround for bug with gitinored files
This is a workaround for https://github.com/BurntSushi/ripgrep/issues/2711 Fixes: #1461
This commit is contained in:
parent
68fe31da3f
commit
a7b5e08173
|
@ -643,7 +643,7 @@ impl Opts {
|
||||||
} else if !self.search_path.is_empty() {
|
} else if !self.search_path.is_empty() {
|
||||||
&self.search_path
|
&self.search_path
|
||||||
} else {
|
} else {
|
||||||
let current_directory = Path::new(".");
|
let current_directory = Path::new("./");
|
||||||
ensure_current_directory_exists(current_directory)?;
|
ensure_current_directory_exists(current_directory)?;
|
||||||
return Ok(vec![self.normalize_path(current_directory)]);
|
return Ok(vec![self.normalize_path(current_directory)]);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue