mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-27 20:41:30 +02: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
@ -642,7 +642,7 @@ impl Opts {
|
||||
} else if !self.search_path.is_empty() {
|
||||
&self.search_path
|
||||
} else {
|
||||
let current_directory = Path::new(".");
|
||||
let current_directory = Path::new("./");
|
||||
ensure_current_directory_exists(current_directory)?;
|
||||
return Ok(vec![self.normalize_path(current_directory)]);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user