Skip to content

Commit

Permalink
Fix error in copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
hlohaus committed Jan 21, 2024
1 parent 7e63b41 commit d938694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/tool/copilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_pr_details(github: Github) -> PullRequest:
PullRequest: An object representing the pull request.
"""
with open('./pr_number', 'r') as file:
pr_number = int(file.read())
pr_number = int(file.read().strip())
if not pr_number:
return

Expand Down

0 comments on commit d938694

Please sign in to comment.