Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhuster committed Nov 26, 2024
1 parent 6fc32c9 commit 4712ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/dirvish-do/operations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end
function M.copyfile(file, newpath)
local success, errname, errmsg = uv.fs_copyfile(file, newpath)
if not success then
vim.print(string.format("%s: %s", errname, errmsg), vim.log.levels.ERROR)
vim.notify(string.format("%s: %s", errname, errmsg), vim.log.levels.ERROR)
end
end

Expand All @@ -43,7 +43,7 @@ function M.copydir(dir, newpath)
end
local success, errname, errmsg = uv.fs_mkdir(newpath, 493)
if not success then
vim.print(string.format("%s: %s", errname, errmsg), vim.log.levels.ERROR)
vim.notify(string.format("%s: %s", errname, errmsg), vim.log.levels.ERROR)
return
end

Expand Down

0 comments on commit 4712ec9

Please sign in to comment.