Skip to content

Return non-zero exit code on errors #4

@emmeken

Description

@emmeken

This is a feature request. If the validator finds any errors, please return a non-zero exit code. That would make it much easier to use the validator in scripts, such as within GitHub Actions.

For warnings, you could either return a different non-zero exit code if there are no errors but there are warnings, or you could add a command line switch for the user to indicate whether warnings should be treated as errors or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions