refactor: Correct case typo of PR in log

This commit is contained in:
Seohyun Lee
2025-05-20 02:31:48 +09:00
parent 94aa8e8638
commit 4679dce3af
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class GithubProvider(GitProvider):
parsed_url = urlparse(given_url)
repo_path = (parsed_url.path.split('.git')[0])[1:] # /<owner>/<repo>.git -> <owner>/<repo>
if not repo_path:
get_logger().error(f"url is neither an issues url nor a pr url nor a valid git url: {given_url}. Returning empty result.")
get_logger().error(f"url is neither an issues url nor a PR url nor a valid git url: {given_url}. Returning empty result.")
return ""
return repo_path
except Exception as e: