summaryrefslogtreecommitdiff
path: root/tools/eslint/lib/rules/no-unreachable.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/lib/rules/no-unreachable.js')
-rw-r--r--tools/eslint/lib/rules/no-unreachable.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/eslint/lib/rules/no-unreachable.js b/tools/eslint/lib/rules/no-unreachable.js
index 82ef8301a3..217a6a4299 100644
--- a/tools/eslint/lib/rules/no-unreachable.js
+++ b/tools/eslint/lib/rules/no-unreachable.js
@@ -145,8 +145,10 @@ module.exports = {
nextNode = node;
}
- // Report the current range since this statement is reachable or is
- // not consecutive to the current range.
+ /*
+ * Report the current range since this statement is reachable or is
+ * not consecutive to the current range.
+ */
if (!range.isEmpty) {
context.report({
message: "Unreachable code.",