Skip to content

Commit

Permalink
revert: "fix: fix 'edit' actions documented arguments (pwntester#826)"
Browse files Browse the repository at this point in the history
This reverts commit 781545b.

Resolves pwntester#841
  • Loading branch information
benelan committed Feb 3, 2025
1 parent 781545b commit ccc2834
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/octo/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -840,9 +840,9 @@ function M.get_repo_number_from_varargs(...)
repo = M.get_remote_name()
number = tonumber(args[1])
elseif args.n == 2 then
-- eg: Octo issue 1 pwntester/octo.nvim
repo = args[2]
number = tonumber(args[1])
-- eg: Octo issue pwntester/octo.nvim 1
repo = args[1]
number = tonumber(args[2])
else
M.error "Unexpected arguments"
return
Expand Down

0 comments on commit ccc2834

Please sign in to comment.