Skip to content

Commit

Permalink
Workaround for bug with gitinored files
Browse files Browse the repository at this point in the history
This is a workaround for
BurntSushi/ripgrep#2711

Fixes: #1461
  • Loading branch information
tmccombs committed Mar 14, 2024
1 parent 650fa97 commit 3cc90f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Expand Up @@ -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)]);
};
Expand Down

0 comments on commit 3cc90f5

Please sign in to comment.