Skip to content

Commit

Permalink
fix incorrectly set default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
SoloSynth1 committed Jun 5, 2024
1 parent 2bf68a7 commit 836e056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_creation/modules/code_analyzer/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _get_remote_info(self) -> tuple[Optional[str], Optional[str], str]:
return None, None, "."

def construct_remote_link_to_file(self, file_path: Union[str, Path],
line_num: Optional[int] = 0) -> str:
line_num: Optional[int] = None) -> str:
path = Path(file_path)
if path.is_absolute():
rel_path = path.relative_to(self.git_dir)
Expand Down

0 comments on commit 836e056

Please sign in to comment.