fix missing return

pull/1249/head
yann300 3 years ago
parent cc8dca194b
commit 79ebac8e68
  1. 2
      libs/remix-tests/src/deployer.ts

@ -110,7 +110,7 @@ export function deployAll (compileResult: compilationInterface, web3: Web3, with
const params = '' // we suppose that the test contract does not have any param in the constructor
execution.txFormat.encodeConstructorCallAndDeployLibraries(contractName, contract.raw, compileResult, params, funAbi, encodeDataFinalCallback, encodeDataStepCallback, encodeDataDeployLibraryCallback)
}, function (err) {
if (err) next(err)
if (err) return next(err)
next(null, contracts)
})
}

Loading…
Cancel
Save