Explorar o código

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

kylo252 %!s(int64=3) %!d(string=hai) anos
pai
achega
21b621c95a
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      lua/lsp/null-ls/services.lua

+ 0 - 2
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