remove the violent message for provider not found (#1283)

This commit is contained in:
Abouzar Parvan 2021-08-10 22:17:24 +04:30 committed by GitHub
parent 4f47e6cfe0
commit 44e43e225b
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,8 @@ local function validate_provider_request(provider)
return validate_nodejs_provider(provider)
end
if vim.fn.executable(provider._opts.command) ~= 1 then
Log:get_default().warn("Unable to find the path for", vim.inspect(provider))
Log:get_default().debug("Unable to find the path for", vim.inspect(provider))
Log:get_default().warn("Unable to find the path for ", provider._opts.command)
return
end
return provider._opts.command