Skip to content

Commit a65063c

Browse files
committed
fix(notify): remove unused varargs, log file notice debug->info
1 parent c494994 commit a65063c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lua/nvim-tree/log.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function M.setup(opts)
5454
if M.config.truncate then
5555
os.remove(M.path)
5656
end
57-
require("nvim-tree.notify").debug("nvim-tree.lua logging to " .. M.path)
57+
require("nvim-tree.notify").info("nvim-tree.lua logging to " .. M.path)
5858
end
5959
end
6060

lua/nvim-tree/notify.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ do
3030
end
3131

3232
for _, x in ipairs(modes) do
33-
M[x.name] = function(msg, ...)
34-
return dispatch(x.level, msg, ...)
33+
M[x.name] = function(msg)
34+
return dispatch(x.level, msg)
3535
end
3636
end
3737
end

0 commit comments

Comments
 (0)