diff options
Diffstat (limited to 'tools/eslint/lib/formatters/visualstudio.js')
-rw-r--r-- | tools/eslint/lib/formatters/visualstudio.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/lib/formatters/visualstudio.js b/tools/eslint/lib/formatters/visualstudio.js index feb7fb4bef..0d49431db8 100644 --- a/tools/eslint/lib/formatters/visualstudio.js +++ b/tools/eslint/lib/formatters/visualstudio.js @@ -18,9 +18,9 @@ function getMessageType(message) { if (message.fatal || message.severity === 2) { return "error"; - } else { - return "warning"; } + return "warning"; + } |