pull/1172/head
aniket-engg 4 years ago committed by Aniket
parent e1bdf8bc8a
commit 10e3673803
  1. 4
      apps/remix-ide/src/app/tabs/compileTab/compileTab.js

@ -111,9 +111,9 @@ class CompileTab extends Plugin {
const configFilePath = 'remix-compiler.config.js' const configFilePath = 'remix-compiler.config.js'
this.fileManager.setFileContent(configFilePath, fileContent) this.fileManager.setFileContent(configFilePath, fileContent)
this.call('hardhat', 'compile', configFilePath).then((result) => { this.call('hardhat', 'compile', configFilePath).then((result) => {
this.call('terminal', 'log', { type: 'info', value: result}) this.call('terminal', 'log', { type: 'info', value: result })
}).catch((error) => { }).catch((error) => {
this.call('terminal', 'log', { type: 'error', value: result}) this.call('terminal', 'log', { type: 'error', value: error })
}) })
} }
} }

Loading…
Cancel
Save