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
|
if M.config.truncate then
|
||||||
os.remove(M.path)
|
os.remove(M.path)
|
||||||
end
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -30,8 +30,8 @@ do
|
|||||||
end
|
end
|
||||||
|
|
||||||
for _, x in ipairs(modes) do
|
for _, x in ipairs(modes) do
|
||||||
M[x.name] = function(msg, ...)
|
M[x.name] = function(msg)
|
||||||
return dispatch(x.level, msg, ...)
|
return dispatch(x.level, msg)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user