Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

exit code not set for upgrade failure #110

@gfredericks

Description

@gfredericks

I think lein ancient upgrade should have non-zero exit code when the tests fail.

Currently what happens is that the test-failing code goes through leiningen.core.main/exit with the flag set causing that method to throw an exception rather than exit, and the exception gets printed somehow, and the process exits with exit code 0.

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