Skip to content

Commit e2cbdcb

Browse files
authored
fix(builtins/diagnostics/vacuum): also check for nil (#317)
1 parent 1fcf9cb commit e2cbdcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/null-ls/builtins/diagnostics/vacuum.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ return h.make_builtin({
2727
end,
2828
on_output = function(params)
2929
local diags = {}
30-
if params.output.resultSet.results == vim.NIL then
30+
if params.output.resultSet.results == vim.NIL or params.output.resultSet.results == nil then
3131
return diags
3232
end
3333

0 commit comments

Comments
 (0)