Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/fix-dont-attach-if-…
Browse files Browse the repository at this point in the history
…command-is-not-available'
  • Loading branch information
Zeioth committed May 12, 2024
2 parents ed894bb + b734bec commit 64ed731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/null-ls/sources.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ M.is_executable = function(source)
-- for sources with a command
if source.generator.opts.command then
if vim.fn.executable(source.generator.opts.command) == 0 then
-- if the command is not executable
return false
-- if the command is not executable
return false
end
end

Expand Down

0 comments on commit 64ed731

Please sign in to comment.