Skip to content

Improve config syntax errors#6721

Merged
bentsherman merged 1 commit intomasterfrom
improve-config-syntax-errors
Jan 14, 2026
Merged

Improve config syntax errors#6721
bentsherman merged 1 commit intomasterfrom
improve-config-syntax-errors

Conversation

@bentsherman
Copy link
Member

This PR makes a few minor improvements to linter errors:

  • Report a better error message for an if statement in a config selector block. Should fix the four pipelines currently showing "Parse error" over at strict-syntax-health.

  • Add a hint about using the env() function when an undefined variable in the config looks like an environment variable

See the PR changes for a concrete example of each improvement

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from ewels January 13, 2026 21:53
@bentsherman bentsherman requested a review from a team as a code owner January 13, 2026 21:53
@netlify
Copy link

netlify bot commented Jan 13, 2026

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 06326fe
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/6966bedc8f0d3d000868838a

Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bentsherman bentsherman merged commit c07cc2e into master Jan 14, 2026
25 checks passed
@bentsherman bentsherman deleted the improve-config-syntax-errors branch January 14, 2026 13:50
pditommaso pushed a commit that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants