fix: convert some warnings to errors

This commit is contained in:
2026-05-06 01:33:39 +02:00
parent c70d5dfce5
commit 2a81c50156
7 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -195,7 +195,7 @@ function M.watch()
local w, err = vim.uv.new_fs_event()
if not w then
util.warning("pack: failed to create fs_event: %s", err)
util.error("pack: failed to create fs_event: %s", err)
return
end
local on_change, handle = util.keyed_debounce(
@@ -232,7 +232,7 @@ function M.watch()
end
)
if not ok then
util.warning("pack: failed to watch %s: %s", plugins_dir, err)
util.error("pack: failed to watch %s: %s", plugins_dir, err)
w:close()
handle:close()
return