You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Allan Lewis (JIRA)" <ji...@apache.org> on 2018/01/15 15:18:01 UTC

[jira] [Created] (GROOVY-8450) Make `grape install` set non-zero exit status on failure

Allan Lewis created GROOVY-8450:
-----------------------------------

             Summary: Make `grape install` set non-zero exit status on failure
                 Key: GROOVY-8450
                 URL: https://issues.apache.org/jira/browse/GROOVY-8450
             Project: Groovy
          Issue Type: Improvement
          Components: Grape
    Affects Versions: 2.6.0-alpha-2, 2.4.13, 2.5.0-beta-2, 3.0.0-alpha-1
            Reporter: Allan Lewis


When {{grape install}} can't find a module, it reports an error as follows:
{noformat}
$ grape install foo bar
...
:: problems summary ::
:::: WARNINGS
        module not found: foo#bar;latest.default
...{noformat}
However, it nevertheless exits with status 0: surely it would be better to exit non-zero in this scenario?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)