From 1aaefb5787f3a596511c6106376f8efa8426c5c0 Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Sun, 2 Mar 2025 16:41:18 +0200 Subject: [PATCH] refactor(health): apparently there was something stupid that i wrote a while ago --- lua/gopher/health.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/gopher/health.lua b/lua/gopher/health.lua index f852798..f45c499 100644 --- a/lua/gopher/health.lua +++ b/lua/gopher/health.lua @@ -35,10 +35,7 @@ end ---@param bin string ---@return boolean local function is_binary_found(bin) - if vim.fn.executable(bin) == 1 then - return true - end - return false + return vim.fn.executable(bin) == 1 end ---@param ft string