@fimbul/mimir
Advanced tools
Comparing version 0.24.0-dev.20210122 to 0.24.0-dev.20210131
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.24.0-dev.20210122", | ||
"version": "0.24.0-dev.20210131", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -5,0 +5,0 @@ "main": "recommended.yaml", |
@@ -44,3 +44,3 @@ "use strict"; | ||
if (!this.isUsed(expr)) | ||
this.addFindingAtNode(errorNode === undefined ? expr : errorNode, FAIL_MESSAGE); | ||
this.addFindingAtNode(errorNode !== null && errorNode !== void 0 ? errorNode : expr, FAIL_MESSAGE); | ||
} | ||
@@ -47,0 +47,0 @@ isUsed(node) { |
Sorry, the diff of this file is not supported yet
452024