Skip to content

Commit

Permalink
Add return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
qwrtln committed Aug 27, 2024
1 parent b625bce commit e25ab07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/neogit/popups/push/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ local function push_to(args, remote, branch, opts)

if string.find(stdout, "Permission denied %(publickey%)") then
notification.info(table.concat(res.stdout, "\n"))
return
end

-- Only ask the user whether to force push if not already specified
Expand Down

0 comments on commit e25ab07

Please sign in to comment.