Skip to content

Commit

Permalink
fix: luacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonHarnes committed Mar 24, 2024
1 parent 35df9b7 commit 294aa40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/img-clip/paste.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ M.paste_image_from_url = function(url)
end
end

local output, exit_code = fs.process_image(file_path)
if exit_code ~= 0 then
local output, process_exit_code = fs.process_image(file_path)
if process_exit_code ~= 0 then
util.warn("Could not process image.", true)
util.warn("Output: " .. output, true)
end
Expand Down

0 comments on commit 294aa40

Please sign in to comment.