mirror of
https://github.com/kristoferssolo/runner.nvim.git
synced 2025-10-21 19:50:34 +00:00
Remove npm errors from nodejs handlers
This commit is contained in:
parent
b4191bc63d
commit
0907be547a
@ -7,7 +7,7 @@ return function(buffer)
|
||||
|
||||
for _, line in pairs(output) do
|
||||
for _, data in pairs(line) do
|
||||
if vim.trim(data) ~= '' then
|
||||
if vim.trim(data) ~= '' and not string.match(data, 'npm ERR!') then
|
||||
bins[#bins + 1] = data
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user