summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-17 21:08:19 +0200
committerGitHub <[email protected]>2021-08-17 23:38:19 +0430
commit21b621c95af592d0da46a29fe4dcc02e5d16c6eb (patch)
tree7fa22554eb2d9405b804279518c1e4ec127b0db4 /lua
parent08c0dca3071ec2df16553dd724836307999e6aef (diff)
fix: remove wrongful log entry from null-ls setup (#1341)
Diffstat (limited to 'lua')
-rw-r--r--lua/lsp/null-ls/services.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/lua/lsp/null-ls/services.lua b/lua/lsp/null-ls/services.lua
index 6f3516ad..a1e3a06c 100644
--- a/lua/lsp/null-ls/services.lua
+++ b/lua/lsp/null-ls/services.lua
@@ -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