@ggflutter/sumo
Advanced tools
Comparing version 2.5.743 to 2.5.744
{ | ||
"author": "Luigi Allocca", | ||
"name": "@ggflutter/sumo", | ||
"version": "2.5.743", | ||
"version": "2.5.744", | ||
"description": "A mutation testing tool for Ethereum smart contracts", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -24,4 +24,4 @@ const Mutation = require('../../../mutation'); | ||
for (let i = 0; i < blockStatements.length - 1; i++) { | ||
const statement = body[i]; | ||
const nextStatement = body[i + 1]; | ||
const statement = blockStatements[i]; | ||
const nextStatement = blockStatements[i + 1]; | ||
@@ -66,9 +66,6 @@ if (!statement || !nextStatement) { | ||
if (statement.type === "IfStatement" || statement.type === "WhileStatement" || statement.type === "ForStatement" || statement.type === "DoWhileStatement") { | ||
console.log("un if") | ||
const block = statement.trueBody || statement.body; | ||
console.log(block) | ||
if (block && Array.isArray(block.statements)) { | ||
console.log("tutto ok ") | ||
processBlockStatements(block.statements); | ||
console.log("cazz") | ||
} | ||
@@ -75,0 +72,0 @@ } |
349767
6792