diff --git a/nf_core/components/update.py b/nf_core/components/update.py index 1a1303bb9..203d9749d 100644 --- a/nf_core/components/update.py +++ b/nf_core/components/update.py @@ -1010,5 +1010,3 @@ 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