Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(health): support curl_path in a healthcheck #237

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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