linting fix

pull/5370/head
aniket-engg 5 years ago
parent 71669f3b63
commit abaa41fdc6
  1. 2
      remix-analyzer/src/solidity-analyzer/modules/forLoopIteratesOverDynamicArray.js

@ -8,7 +8,7 @@ function forLoopIteratesOverDynamicArray () {
} }
forLoopIteratesOverDynamicArray.prototype.visit = function (node) { forLoopIteratesOverDynamicArray.prototype.visit = function (node) {
if (common.isForLoop(node) && (common.isDynamicArrayLengthAccess(node.children[1].children[1]) || if (common.isForLoop(node) && (common.isDynamicArrayLengthAccess(node.children[1].children[1]) ||
(node.children[1].children[1].children && common.isDynamicArrayLengthAccess(node.children[1].children[1].children[0])))) { (node.children[1].children[1].children && common.isDynamicArrayLengthAccess(node.children[1].children[1].children[0])))) {
this.relevantNodes.push(node) this.relevantNodes.push(node)
} }

Loading…
Cancel
Save