瀏覽代碼

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

kylo252 3 年之前
父節點
當前提交
21b621c95a
共有 1 個文件被更改,包括 0 次插入2 次删除
  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