Skip to content

Add -EnableExit parameter to ease CI usage #840

Closed
@BatmanAMA

Description

@BatmanAMA

Current Behavior

Invoke-ScriptAnalyzer always sets the exit code to 0

Proposed behavior

When the analyzer outputs problems, enable exit would also generate an exit code equal to the number of problems found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions