fix: issue where you couldn't @ folders/files that started with a "." (#11553)

This commit is contained in:
Aiden Cline
2026-01-31 21:01:51 -06:00
committed by GitHub
parent 5b784871f0
commit d4c90b2dfb
2 changed files with 40 additions and 1 deletions

View File

@@ -215,7 +215,7 @@ export namespace Ripgrep {
const args = [await filepath(), "--files", "--glob=!.git/*"]
if (input.follow) args.push("--follow")
if (input.hidden) args.push("--hidden")
if (input.hidden !== false) args.push("--hidden")
if (input.maxDepth !== undefined) args.push(`--max-depth=${input.maxDepth}`)
if (input.glob) {
for (const g of input.glob) {