Ver código fonte

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

kylo252 3 anos atrás
pai
commit
21b621c95a
1 arquivos alterados com 0 adições e 2 exclusões
  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