Skip to content

Commit

Permalink
refact: Roll back to previous check
Browse files Browse the repository at this point in the history
  • Loading branch information
jvfe committed Oct 28, 2024
1 parent 0e35a85 commit 959a63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/components/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def update(self, component=None, silent=False, updated=None, check_diff_exist=Tr
if self.current_remote is None:
self.current_remote = self.modules_repo.remote_url

if self.original_remote != self.current_remote and self.current_sha is not None:
if self.original_remote != self.modules_repo.remote_url and self.sha is None:
self.current_sha = None
else:
self.current_sha = self.sha
Expand Down

0 comments on commit 959a63c

Please sign in to comment.