From 959a63cc8c72ec7c781814604c2578f42003dc90 Mon Sep 17 00:00:00 2001 From: jvfe Date: Mon, 28 Oct 2024 14:53:17 -0300 Subject: [PATCH] refact: Roll back to previous check --- nf_core/components/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/components/update.py b/nf_core/components/update.py index fffa4067d..799707664 100644 --- a/nf_core/components/update.py +++ b/nf_core/components/update.py @@ -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