mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 10:16:37 +00:00
fix: grep failing when pattern started with a dash
This commit is contained in:
@@ -367,6 +367,7 @@ export namespace Ripgrep {
|
||||
args.push(`--max-count=${input.limit}`)
|
||||
}
|
||||
|
||||
args.push("--")
|
||||
args.push(input.pattern)
|
||||
|
||||
const command = args.join(" ")
|
||||
|
||||
Reference in New Issue
Block a user