Skip to content

Commit

Permalink
Remove trailing slash from repository lookup (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielebra authored Mar 4, 2024
1 parent 8089251 commit 1c4777b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_latest_release_tag(self) -> Optional[str]:
return response.json()["tag_name"]

def get_default_branch(self) -> str:
url = f"https://api.github.com/repos/{self._REPO}/"
url = f"https://api.github.com/repos/{self._REPO}"
response = requests.get(url, headers=self._headers)
response.raise_for_status()
data = response.json()
Expand Down

0 comments on commit 1c4777b

Please sign in to comment.