Skip to content

audit error code for exit #2403

@HerringtonDarkholme

Description

@HerringtonDarkholme

Since ast-grep now returns exit code 1 for no finding(using run) or error found (using scan), the error code 1 should be kept exclusively for result count .

Audit different code path that the error code can go wrong.

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