fix: force ripgrep to never try search stdin
This commit is contained in:
parent
b3c5f4cbb9
commit
36e6d6a69f
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ const Process = struct {
|
||||||
"--json",
|
"--json",
|
||||||
"--smart-case",
|
"--smart-case",
|
||||||
self.query,
|
self.query,
|
||||||
|
"./.", // never search stdin
|
||||||
});
|
});
|
||||||
self.sp = tp.subprocess.init(self.allocator, args, module_name, self.stdin_behavior) catch |e| return tp.exit_error(e, @errorReturnTrace());
|
self.sp = tp.subprocess.init(self.allocator, args, module_name, self.stdin_behavior) catch |e| return tp.exit_error(e, @errorReturnTrace());
|
||||||
tp.receive(&self.receiver);
|
tp.receive(&self.receiver);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue