Skip to content

Commit

Permalink
fix(health): support curl_path in a healthcheck (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskocilm authored Sep 12, 2024
1 parent dd6a549 commit 1a016d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lua/kulala/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ local M = {}

M.check = function()
info("{kulala.nvim} version " .. GLOBALS.VERSION)
if FS.command_exists("curl") then
ok("{curl} found")
local curl = CONFIG.get().curl_path
if FS.command_exists(curl) then
ok(string.format("{%s} found", curl))
else
error("{curl} not found")
error(string.format("{%s} not found", curl))
end

start("Checking formatters")
Expand Down

0 comments on commit 1a016d1

Please sign in to comment.