diff --git a/apps/remix-ide/src/app/tabs/compileTab/compileTab.js b/apps/remix-ide/src/app/tabs/compileTab/compileTab.js index 9c12d7b976..33deec9dc7 100644 --- a/apps/remix-ide/src/app/tabs/compileTab/compileTab.js +++ b/apps/remix-ide/src/app/tabs/compileTab/compileTab.js @@ -111,9 +111,9 @@ class CompileTab extends Plugin { const configFilePath = 'remix-compiler.config.js' this.fileManager.setFileContent(configFilePath, fileContent) 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) => { - this.call('terminal', 'log', { type: 'error', value: result}) + this.call('terminal', 'log', { type: 'error', value: error }) }) } }