diff --git a/nf_core/components/update.py b/nf_core/components/update.py index 203d9749d..1a1303bb9 100644 --- a/nf_core/components/update.py +++ b/nf_core/components/update.py @@ -1010,3 +1010,5 @@ def _reset_component_type(self, original_component_type, original_update_all): self.component_type = original_component_type self.modules_json.pipeline_components = None self.update_all = original_update_all + if self.current_remote is None: + self.current_remote = self.modules_repo.remote_url