Skip to content

Commit

Permalink
refact: Change indent so previous check is the same
Browse files Browse the repository at this point in the history
  • Loading branch information
jvfe committed Nov 7, 2024
1 parent e72de2f commit f58815e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nf_core/components/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,8 +893,8 @@ def get_components_to_update(self, component):
if subworkflow in details:
git_remote = remote_url
break
if subworkflow != self.component_type:
subworkflows_to_update.append({"name": subworkflow, "git_remote": git_remote})
if subworkflow != self.component_type:
subworkflows_to_update.append({"name": subworkflow, "git_remote": git_remote})

elif self.component_type == "subworkflows":
for repo, repo_content in mods_json["repos"].items():
Expand Down

0 comments on commit f58815e

Please sign in to comment.