fix: remove wrongful log entry from null-ls setup (#1341)

This commit is contained in:
kylo252 2021-08-17 21:08:19 +02:00 committed by GitHub
parent 08c0dca307
commit 21b621c95a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,11 +13,9 @@ local function find_root_dir()
end
local function from_node_modules(command)
local logger = require("core.log"):get_default()
local root_dir = find_root_dir()
if not root_dir then
logger.error(string.format("Unable to find the [%s] node module.", command))
return nil
end