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:
Thayne McCombs 2024-03-13 23:46:30 -06:00
parent 68fe31da3f
commit a7b5e08173
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,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)]);
};