Skip to content

Commit 690e206

Browse files
Update nf_core/pipelines/lint/__init__.py
Co-authored-by: Júlia Mir Pedrol <[email protected]>
1 parent cd00f2e commit 690e206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nf_core/pipelines/lint/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ def run_linting(
601601

602602
if (
603603
lint_obj.lint_config
604-
and lint_obj.lint_config["nfcore_components"] is not None
605-
and not lint_obj.lint_config["nfcore_components"]
604+
and (not lint_obj.lint_config["nfcore_components"]
605+
or lint_obj.lint_config["nfcore_components"] is not None)
606606
):
607607
module_lint_obj = None
608608
subworkflow_lint_obj = None

0 commit comments

Comments
 (0)