Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return exit-code when reporter is invalid #25

Open
nulls opened this issue Dec 19, 2023 · 0 comments
Open

Return exit-code when reporter is invalid #25

nulls opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@nulls
Copy link
Member

nulls commented Dec 19, 2023

Now we get

<reporter> should be set to <sarif> or <checkstyle>
Error: Process completed with exit code 1.
Run if ((  == 0 ))
/home/runner/work/_temp/d4e0e34c-bf86-4484-a6e8-9993c[67](https://github.com/nulls/diktat/pull/3/checks#step:3:70)45502.sh: line 1: ((: == 0 : syntax error: operand expected (error token is "== 0 ")
/home/runner/work/_temp/d4e0e34c-bf86-4484-a6e8-9993c6745502.sh: line 14: ((: != 0 : syntax error: operand expected (error token is "!= 0 ")
/home/runner/work/_temp/d4e0e34c-bf86-4484-a6e8-9993c6745502.sh: line 21: ((: <= 1 : syntax error: operand expected (error token is "<= 1 ")
/home/runner/work/_temp/d4e0e34c-bf86-4484-a6e8-9993c6745502.sh: line 26: ((: != 1 : syntax error: operand expected (error token is "!= 1 ")
Error: Process completed with exit code 1.
@nulls nulls added bug Something isn't working good first issue Good for newcomers labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant