Skip to content

Commit ac2f35e

Browse files
fix type error
1 parent 1fb06ec commit ac2f35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/code_utils/git_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def confirm_proceeding_with_no_git_repo() -> str | bool:
117117
return True
118118

119119

120-
def check_and_push_branch(repo: git.Repo, git_remote: str, wait_for_push: bool = False) -> bool: # noqa: FBT001, FBT002
120+
def check_and_push_branch(repo: git.Repo, git_remote: str | None = "origin", wait_for_push: bool = False) -> bool: # noqa: FBT001, FBT002
121121
current_branch = repo.active_branch.name
122122
remote = repo.remote(name=git_remote)
123123

0 commit comments

Comments
 (0)