Skip to content

Commit

Permalink
[ci] Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Jul 24, 2022
1 parent 6b848fd commit b9ac9c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo {

log.info('\n\n\nTo see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui"\n\n\n')

if ( (bugCountAboveThreshold || errorCount) && failOnError ) {
if ((bugCountAboveThreshold || errorCount) && failOnError) {
throw new MojoExecutionException("failed with ${bugCountAboveThreshold} bugs and ${errorCount} errors ")
}
}
Expand Down

0 comments on commit b9ac9c6

Please sign in to comment.