From f93111f28ad4a83db99387ec11572ef0539e72c3 Mon Sep 17 00:00:00 2001 From: Marisa DeMeglio Date: Mon, 22 Jan 2018 12:52:52 -0800 Subject: [PATCH] fix(report): correct table column ordering --- packages/ace-report/src/generate-html-report.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ace-report/src/generate-html-report.js b/packages/ace-report/src/generate-html-report.js index e710494b..695a4f37 100644 --- a/packages/ace-report/src/generate-html-report.js +++ b/packages/ace-report/src/generate-html-report.js @@ -57,6 +57,7 @@ module.exports = function generateHtmlReport(reportData) { htmlStr += ` ${violation['impact']} ${rulesetTagLabels[violation['applicableRulesetTag']]} + ${violation['rule']}

${violation['engine']} \"${violation['fileTitle']}\"

${violation['location']}`; if (violation.html) { @@ -64,7 +65,7 @@ module.exports = function generateHtmlReport(reportData) { } htmlStr += ""; - htmlStr += `${violation['rule']}

${violation['engine']}`; + var desc = violation["desc"]; desc = desc.replace("Fix all of the following:", "");