fix(notify): remove unused varargs, log file notice debug->info
This commit is contained in:
parent
c49499413a
commit
a65063cb0a
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user