mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-16 00:48:28 +01:00
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
c4094c7a05
commit
6af8f092ee
1 changed files with 1 additions and 1 deletions
|
@ -642,7 +642,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 a new issue