Skip to content

Commit fd231f6

Browse files
authored
fix: use --max-depth arg name for ripgrep <14 compat (#1072)
1 parent df550ff commit fd231f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/CopilotChat/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ M.scan_dir = async.wrap(function(path, opts, callback)
443443
end
444444

445445
if opts.max_depth then
446-
table.insert(cmd, '-d')
446+
table.insert(cmd, '--max-depth')
447447
table.insert(cmd, tostring(opts.max_depth))
448448
end
449449

0 commit comments

Comments
 (0)