fix(notify): remove unused varargs, log file notice debug->info

This commit is contained in:
Alexander Courtis 2022-11-19 14:34:39 +11:00
parent c49499413a
commit a65063cb0a
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ function M.setup(opts)
if M.config.truncate then
os.remove(M.path)
end
require("nvim-tree.notify").debug("nvim-tree.lua logging to " .. M.path)
require("nvim-tree.notify").info("nvim-tree.lua logging to " .. M.path)
end
end

View File

@ -30,8 +30,8 @@ do
end
for _, x in ipairs(modes) do
M[x.name] = function(msg, ...)
return dispatch(x.level, msg, ...)
M[x.name] = function(msg)
return dispatch(x.level, msg)
end
end
end