Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Hörtenhuber <[email protected]>
  • Loading branch information
mirpedrol and mashehu authored Nov 14, 2024
1 parent bdce677 commit 30c3745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nf_core/synced_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def checkout(self, commit):
self.repo.git.checkout(self.branch, force=True)
else:
log.error(
f"You found a git error: {e}\n"
f"Git error: {e}\n"
"To solve this, you can try to remove the cloned rempository and run the command again.\n"
f"This repository is typically found at `{self.local_repo_dir}`"
)
Expand Down Expand Up @@ -405,7 +405,7 @@ def get_component_git_log(
commits_new = [{"git_sha": commit.hexsha, "trunc_message": commit.message} for commit in commits_new_iter]
except git.GitCommandError as e:
log.error(
f"You found a git error: {e}\n"
f"Git error: {e}\n"
"To solve this, you can try to remove the cloned rempository and run the command again.\n"
f"This repository is typically found at `{self.local_repo_dir}`"
)
Expand Down

0 comments on commit 30c3745

Please sign in to comment.