Skip to content

Commit 30c3745

Browse files
mirpedrolmashehu
andauthored
Apply suggestions from code review
Co-authored-by: Matthias Hörtenhuber <[email protected]>
1 parent bdce677 commit 30c3745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nf_core/synced_repo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def checkout(self, commit):
261261
self.repo.git.checkout(self.branch, force=True)
262262
else:
263263
log.error(
264-
f"You found a git error: {e}\n"
264+
f"Git error: {e}\n"
265265
"To solve this, you can try to remove the cloned rempository and run the command again.\n"
266266
f"This repository is typically found at `{self.local_repo_dir}`"
267267
)
@@ -405,7 +405,7 @@ def get_component_git_log(
405405
commits_new = [{"git_sha": commit.hexsha, "trunc_message": commit.message} for commit in commits_new_iter]
406406
except git.GitCommandError as e:
407407
log.error(
408-
f"You found a git error: {e}\n"
408+
f"Git error: {e}\n"
409409
"To solve this, you can try to remove the cloned rempository and run the command again.\n"
410410
f"This repository is typically found at `{self.local_repo_dir}`"
411411
)

0 commit comments

Comments
 (0)