+
Skip to content

CLI raising should impact exit code #57

Open
@christhekeele

Description

@christhekeele

Expectation:

With the raise: true config set, when running mix doctor, when my Doctor validation fails, I'd expect the task to return a non-zero status code.

Observed:

Failing and non-failing runs always return a 0 exit code.

Implementation:

One neat thing I've seen such tools do is encode the number of failures in the returned status code, so bash CI scripts can externally permit/enforce a certain number of failures.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载