Skip to content
Open
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
4 changes: 2 additions & 2 deletions lua/tsc/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ M.find_tsconfigs = function(run_mono_repo)

local found_configs = nil
if M.is_executable("rg") then
found_configs = vim.fn.system("rg -g '!node_modules' --files | rg 'tsconfig.*.json'")
found_configs = vim.fn.system("rg --files -g '!node_modules' -g 'tsconfig*.json'")
else
found_configs = vim.fn.system('find . -not -path "*/node_modules/*" -name "tsconfig.*.json" -type f')
found_configs = vim.fn.system('find . -not -path "*/node_modules/*" -name "tsconfig*.json" -type f')
end

if found_configs == nil then
Expand Down
Loading