pull/11/head
yann300 4 years ago committed by ioedeveloper
parent 97f87f9f45
commit 44af5fa0e6
  1. 2
      apps/remix-ide/src/app/compiler/compiler-artefacts.js

@ -54,7 +54,7 @@ module.exports = class CompilerArtefacts extends Plugin {
const contracts = this.compilersArtefactsPerFile[targetFile].getContracts() const contracts = this.compilersArtefactsPerFile[targetFile].getContracts()
Object.keys(contracts).map((file) => { contractsData[file] = contracts[file] }) Object.keys(contracts).map((file) => { contractsData[file] = contracts[file] })
}) })
// making sure we shave last compilation result in there // making sure we save last compilation result in there
if (this.compilersArtefacts['__last']) { if (this.compilersArtefacts['__last']) {
const contracts = this.compilersArtefacts['__last'].getContracts() const contracts = this.compilersArtefacts['__last'].getContracts()
Object.keys(contracts).map((file) => { contractsData[file] = contracts[file] }) Object.keys(contracts).map((file) => { contractsData[file] = contracts[file] })

Loading…
Cancel
Save