-
Notifications
You must be signed in to change notification settings - Fork 52
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
non-zero exit code #70
Comments
The Scalastyle task has a non-zero exit code when it finds an error. You have one error, which looks like a parse error. If you don't want scalastyle to fail on error, set the scalastyleFailOnError setting to false. |
Scalastyle is failing with above error. |
Do you have a for instance a Seq in your code where the last entry is followed by a , ? |
Yes, I have a similar issue and the reason was a List() with a trailing comma (last symbol, not followed by an element). |
Such a terrible error message. |
I run
sbt scalastyle
command end everything looks fine, while exit code of this task is 1 that fails our CI server.The text was updated successfully, but these errors were encountered: