Skip to content

Commit ff8d6b6

Browse files
fix: nil handling in test_runner.lua
1 parent 6268108 commit ff8d6b6

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)