Skip to content

Commit

Permalink
Merge pull request #2447 from mashehu/fix-sw-linting
Browse files Browse the repository at this point in the history
fix wrong linting result
  • Loading branch information
mirpedrol authored Sep 28, 2023
2 parents 15129f9 + 0f7f175 commit 36b7e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

### Linting

- Fix incorrectly failing linting if 'modules' was not found in meta.yml ([#2447](https://github.com/nf-core/tools/pull/2447))
- Correctly pass subworkflow linting test if `COMPONENT.out.versions` is used in the script ([#2448](https://github.com/nf-core/tools/pull/2448))

### Modules
Expand Down
2 changes: 1 addition & 1 deletion nf_core/subworkflows/lint/meta_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def meta_yml(subworkflow_lint_object, subworkflow):
)
)
else:
subworkflow.failed.append(
subworkflow.passed.append(
(
"meta_modules_deprecated",
f"Deprecated section 'modules' not found in `meta.yml`",
Expand Down

0 comments on commit 36b7e9c

Please sign in to comment.