Skip to content

Commit 60dfb95

Browse files
authored
Update git_utils.py
1 parent 8335451 commit 60dfb95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codeflash/code_utils/git_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def get_git_remotes(repo: Repo) -> list[str]:
8282
def get_repo_owner_and_name(repo: Repo | None = None, git_remote: str | None = "origin") -> tuple[str, str]:
8383
remote_url = get_remote_url(repo, git_remote) # call only once
8484
remote_url = remote_url.removesuffix(".git") if remote_url.endswith(".git") else remote_url
85+
# remote_url = get_remote_url(repo, git_remote).removesuffix(".git") if remote_url.endswith(".git") else remote_url
8586
remote_url = remote_url.rstrip("/")
8687
split_url = remote_url.split("/")
8788
repo_owner_with_github, repo_name = split_url[-2], split_url[-1]

0 commit comments

Comments
 (0)