Skip to content

CLI: Exit with error code on failure in tap or target #10

@robmoore

Description

@robmoore

The current behavior is that the exit code is always 0. Scripts that depend on this code to determine whether to exit or continue fail to exit as a result.

This is appears to be specific to the CLI. The main functions do return success / failure. The desired behavior is either to exit 1 explicitly or raise an exceptions, which should cause an exit 1.

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