Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ return check_cli_wrap(function(opts)
end
vim.list_extend(args, action.options.query)
if action.options.project_root ~= nil then
action.options.project_root = vim.fs.normalize(action.options.project_root)
if
vim.uv.fs_stat(action.options.project_root) ~= nil
and vim.uv.fs_stat(action.options.project_root).type == "directory"
Expand Down
1 change: 1 addition & 0 deletions lua/vectorcode/integrations/codecompanion/legacy_tool.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ return check_cli_wrap(function(opts)
end
vim.list_extend(args, action.options.query)
if action.options.project_root ~= nil then
action.options.project_root = vim.fs.normalize(action.options.project_root)
if
vim.uv.fs_stat(action.options.project_root) ~= nil
and vim.uv.fs_stat(action.options.project_root).type == "directory"
Expand Down