Skip to content

Commit

Permalink
fix #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 committed Feb 20, 2014
1 parent 2470797 commit 7a72daf
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 @@ -261,8 +261,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 7a72daf

Please sign in to comment.