We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b848fd commit b9ac9c6Copy full SHA for b9ac9c6
src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy
@@ -537,7 +537,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo {
537
538
log.info('\n\n\nTo see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"\n\n\n')
539
540
- if ( (bugCountAboveThreshold || errorCount) && failOnError ) {
+ if ((bugCountAboveThreshold || errorCount) && failOnError) {
541
throw new MojoExecutionException("failed with ${bugCountAboveThreshold} bugs and ${errorCount} errors ")
542
}
543
0 commit comments