zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
108 stars 85 forks source link

adding conditional logic for process() error message #2152

Closed jace-roell closed 1 month ago

jace-roell commented 1 month ago

What It Does Modified logic to report correct error output

How to Test Ensure all unit tests are passing

Review Checklist I certify that I have:

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.20%. Comparing base (82b8ffb) to head (dcadb27). Report is 2 commits behind head on next.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #2152 +/- ## ========================================== - Coverage 91.21% 91.20% -0.01% ========================================== Files 628 628 Lines 17891 17894 +3 Branches 3792 3794 +2 ========================================== + Hits 16319 16320 +1 - Misses 1571 1573 +2 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 1 month ago

Release failed for the next branch. :cry:

Error: Protected branch next does not allow patch version changes
    at Object.<anonymous> (/home/runner/work/_actions/zowe-actions/octorelease/v1/dist/core.js:22394:13)
    at Generator.next (<anonymous>)
    at /home/runner/work/_actions/zowe-actions/octorelease/v1/dist/core.js:69:61
    at new Promise (<anonymous>)
    at __async (/home/runner/work/_actions/zowe-actions/octorelease/v1/dist/core.js:53:10)
    at Object.verifyConditions (/home/runner/work/_actions/zowe-actions/octorelease/v1/dist/core.js:22379:10)
    at /home/runner/work/_actions/zowe-actions/octorelease/v1/dist/index.js:2245:30
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/zowe-actions/octorelease/v1/dist/index.js:40:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Check the workflow run for more error details.

Powered by Octorelease :rocket: