fix: grep failing when pattern started with a dash
This commit is contained in:
parent
3823d8d50e
commit
af50596529
1 changed files with 2 additions and 1 deletions
|
|
@ -367,6 +367,7 @@ export namespace Ripgrep {
|
|||
args.push(`--max-count=${input.limit}`)
|
||||
}
|
||||
|
||||
args.push("--")
|
||||
args.push(input.pattern)
|
||||
|
||||
const command = args.join(" ")
|
||||
|
|
|
|||
Loading…
Reference in a new issue