Skip to content

Commit 4611f65

Browse files
Merge pull request #59 from jonathanmorris180/fix/stderr-test-runner
Fix stderr handling in test_runner.lua
2 parents 6268108 + ff8d6b6 commit 4611f65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/salesforce/test_runner.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ local function execute_job(command)
5656
on_stderr = function(_, data)
5757
vim.schedule(function()
5858
Debug:log("test_runner.lua", "Command stderr is: %s", data)
59+
if not data then
60+
return
61+
end
5962
local trimmed_data = vim.trim(data)
6063
if string.len(trimmed_data) > 0 then
6164
Popup:write_to_popup(data)

0 commit comments

Comments
 (0)