}
private void saveReportFile(Map<String, Result> results, String reportType, String reportFile) {
JSHintReporter reporter = null;
if(JSLintReporter.FORMAT.equalsIgnoreCase(reportType)){
reporter = new JSLintReporter();
}else if(CheckStyleReporter.FORMAT.equalsIgnoreCase(reportType)){
reporter = new CheckStyleReporter();
}else if(StringUtils.isNotBlank(reportType)){
getLog().warn("Unknown reporter \"" + reportType + "\". Skip reporting.");
return;