diff --git a/libs/remix-debug/src/source/astWalker.js b/libs/remix-debug/src/source/astWalker.js index e410f0bce2..5c831d2581 100644 --- a/libs/remix-debug/src/source/astWalker.js +++ b/libs/remix-debug/src/source/astWalker.js @@ -21,7 +21,7 @@ AstWalker.prototype.walk = function (ast, callback) { if (!('*' in callback)) { callback['*'] = function () { return true } } - if(ast){ + if(ast) { const nodes = ast.nodes || (ast.body && ast.body.statements) || ast.declarations || [] if(ast.body && ast.initializationExpression) // 'for' loop handling nodes.push(ast.initializationExpression)