diff --git a/images/Critical.png b/images/Critical.png new file mode 100644 index 0000000..4534c16 Binary files /dev/null and b/images/Critical.png differ diff --git a/src/commenter.js b/src/commenter.js index ec596f1..31b9cc0 100644 --- a/src/commenter.js +++ b/src/commenter.js @@ -28,9 +28,6 @@ function createComment(results, withQueries = false, excludedColumnsForCommentsW if (severity in severityCounters) { message += `| ![${severity}](${severityIcons[severity]}) | ${severity.toUpperCase()} | ${severityCounters[severity.toUpperCase()]} |\n`; } - else { - message += `| ![${severity}](${severityIcons[severity]}) | ${severity.toUpperCase()} | 0 |\n`; - } } message += `| ![TOTAL](${emptyIcon}) | TOTAL | ${results['total_counter']} |`;