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

This commit is contained in:
kylo252 2021-12-08 09:01:33 +01:00 committed by GitHub
parent e4752692e5
commit c43ee9aa3a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ end
M.add_exec = function(opts) M.add_exec = function(opts)
local binary = opts.cmd:match "(%S+)" local binary = opts.cmd:match "(%S+)"
if vim.fn.executable(binary) ~= 1 then 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 return
end end