Skip to content

Commit

Permalink
Updated lua/gitlab/job.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisoncramer committed Sep 14, 2024
1 parent ddcfd74 commit 034a021
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/gitlab/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@ M.run_job = function(endpoint, method, body, callback)
u.notify("Could not run command!", vim.log.levels.ERROR)
end, 0)
end,
on_exit = function(blah, status)
on_exit = function(status)
vim.defer_fn(function()
if status ~= 0 then
u.notify(string.format("Go server exited with non-zero code: %d", status), vim.log.levels.ERROR)
vim.print(blah)
end
end, 0)
end,
Expand Down

0 comments on commit 034a021

Please sign in to comment.