generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli)!: In case of errors, exit with code 1
This change alignes UI5 linter with ESLint (see [1]): * No errors, maybe warnings: Use exit code 0 * At least one error: Use exit code 1 * Unexpected error (typically caused by an exception): Use exit code 2 BREAKING CHANGE: Depending on how UI5 linter is being used, this change might change the behavior of that particular scenario. For example a build script might abort further processing, if any linting errors are detected. To ignore exit code 1, for example in a bash script, you may use a construct like this: ```sh ui5lint && RC=$? || RC=$? if [[ "$RC" = 2 ]]; then exit 1 fi ``` JIRA: CPOUI5FOUNDATION-823 [1]: https://eslint.org/docs/latest/use/command-line-interface#exit-codes
- Loading branch information
1 parent
d313912
commit 65ea942
Showing
3 changed files
with
35 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters