From 46c3a3c909647f475975c33ce16e9c5386c80921 Mon Sep 17 00:00:00 2001 From: Kristof Neirynck Date: Thu, 20 Feb 2014 15:33:13 +0100 Subject: [PATCH] fix #38 Save a reportfile even when there are no problems --- src/main/java/com/cj/jshintmojo/Mojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cj/jshintmojo/Mojo.java b/src/main/java/com/cj/jshintmojo/Mojo.java index 2dd9024..ab9e5b7 100644 --- a/src/main/java/com/cj/jshintmojo/Mojo.java +++ b/src/main/java/com/cj/jshintmojo/Mojo.java @@ -300,8 +300,8 @@ private void handleResults(final Map currentResults, } } + saveReportFile(currentResults, reporter, reportFile); if(numProblematicFiles > 0) { - saveReportFile(currentResults, reporter, reportFile); String errorMessage = "\nJSHint found problems with " + numProblematicFiles + " file";