diff options
Diffstat (limited to 'tools/eslint/lib/formatters/junit.js')
-rw-r--r-- | tools/eslint/lib/formatters/junit.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/lib/formatters/junit.js b/tools/eslint/lib/formatters/junit.js index 35b03bf9ff..c41a2a4dd8 100644 --- a/tools/eslint/lib/formatters/junit.js +++ b/tools/eslint/lib/formatters/junit.js @@ -19,9 +19,9 @@ const xmlEscape = require("../util/xml-escape"); function getMessageType(message) { if (message.fatal || message.severity === 2) { return "Error"; - } else { - return "Warning"; } + return "Warning"; + } //------------------------------------------------------------------------------ |