fix(grep): follow symlinks by default in ripgrep searches (#7501)

This commit is contained in:
Kenny
2026-01-10 11:57:18 -05:00
committed by GitHub
parent 02b7eb59f8
commit d5738f542c
2 changed files with 9 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ export const GrepTool = Tool.define("grep", {
const searchPath = params.path || Instance.directory
const rgPath = await Ripgrep.filepath()
const args = ["-nH", "--field-match-separator=|", "--regexp", params.pattern]
const args = ["-nH", "--hidden", "--follow", "--field-match-separator=|", "--regexp", params.pattern]
if (params.include) {
args.push("--glob", params.include)
}