Prechádzať zdrojové kódy

fix: no longer treat lazygit missing as an error (#2051)

kylo252 3 rokov pred
rodič
commit
c43ee9aa3a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lua/lvim/core/terminal.lua

+ 1 - 1
lua/lvim/core/terminal.lua

@@ -83,7 +83,7 @@ end
 M.add_exec = function(opts)
   local binary = opts.cmd:match "(%S+)"
   if vim.fn.executable(binary) ~= 1 then
-    Log:error("Unable to run executable " .. binary .. ". Please make sure it is installed properly.")
+    Log:debug("Skipping configuring executable " .. binary .. ". Please make sure it is installed properly.")
     return
   end