From d91701b136079ed30958ad3986fb02d4f15fa83b Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 4 Apr 2022 19:41:01 +0530 Subject: [PATCH] download version --- .../solidity-compiler/src/lib/logic/compileTabLogic.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts b/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts index 5d7449b1ee..2f2bf8ab8b 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts +++ b/libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts @@ -141,14 +141,13 @@ export class CompileTabLogic { }) } } else if (externalCompType === 'truffle') { - console.log('inside else if ----externalCompType---->', externalCompType) const fileName = this.api.currentFile const { currentVersion, optimize, runs, evmVersion} = this.compiler.state if (currentVersion) { const compConfig = { compilers: { solc: { - version: `'${currentVersion.substring(0, currentVersion.indexOf('+commit'))}'`, + version: `${currentVersion.substring(0, currentVersion.indexOf('+commit'))}`, settings: { optimizer: { enabled: optimize, @@ -159,11 +158,9 @@ export class CompileTabLogic { } } } - console.log('before compileWithTruffle call') this.api.compileWithTruffle(fileName, compConfig).then((result) => { this.api.logToTerminal({ type: 'info', value: result }) }).catch((error) => { - console.log('errror------->', error) this.api.logToTerminal({ type: 'error', value: error }) }) }