-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: exception if PR is from same repo
If a PR exists and base and head are from the same repo it seems that the response["head"]["repo"] is set to None, causing exception when the code runs. This fixes that bug so that the CLI can fail gracefully (if a token is not provided)
- Loading branch information
1 parent
8fbd52e
commit f4b31f1
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters