File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/main/java/de/chkal/maven/gitlab/codequality Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,12 @@ public void execute() throws MojoFailureException {
6464 ));
6565
6666 // Create GitLab report
67- if (findings .size () > 0 ) {
68- try (FileOutputStream stream = new FileOutputStream (outputFile )) {
69- new ReportSerializer ().write (findings , stream );
70- log .info ("GitLab code quality report for {} issue created: {}" ,
71- findings .size (), outputFile );
72- } catch (IOException e ) {
73- throw new IllegalStateException (e );
74- }
67+ try (FileOutputStream stream = new FileOutputStream (outputFile )) {
68+ new ReportSerializer ().write (findings , stream );
69+ log .info ("GitLab code quality report for {} issue created: {}" ,
70+ findings .size (), outputFile );
71+ } catch (IOException e ) {
72+ throw new IllegalStateException (e );
7573 }
7674
7775 }
You can’t perform that action at this time.
0 commit comments