Skip to content

Commit

Permalink
fix cjdev2#38 Save a reportfile even when there are no problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Crydust authored and Kristof Neirynck committed Oct 26, 2015
1 parent e5ce4ec commit 46c3a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cj/jshintmojo/Mojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ private void handleResults(final Map<String, Result> currentResults,
}
}

saveReportFile(currentResults, reporter, reportFile);
if(numProblematicFiles > 0) {
saveReportFile(currentResults, reporter, reportFile);

String errorMessage = "\nJSHint found problems with " + numProblematicFiles + " file";

Expand Down

0 comments on commit 46c3a3c

Please sign in to comment.