Skip to content

Commit

Permalink
Fix: github create pull request command
Browse files Browse the repository at this point in the history
Ensure github command arguments are passed as positional arguments. When
using underscore to mark an argument as unused passing it as keyword
will fail. Therefore ensure that the command functions are called by
passing the arguments as positionals.
  • Loading branch information
bjoernricks committed Jul 7, 2022
1 parent 7ac3420 commit dbb8647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontos/github/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main(args=None):
term.error("A Github User Token is required.")
sys.exit(1)

parsed_args.func(terminal=term, args=parsed_args)
parsed_args.func(term, parsed_args)


if __name__ == "__main__":
Expand Down

0 comments on commit dbb8647

Please sign in to comment.