diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/sol-compiler/src/utils/compiler.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/sol-compiler/src/utils/compiler.ts b/packages/sol-compiler/src/utils/compiler.ts index 83c3384ce..f02f872f3 100644 --- a/packages/sol-compiler/src/utils/compiler.ts +++ b/packages/sol-compiler/src/utils/compiler.ts @@ -142,8 +142,7 @@ export async function compileDockerAsync( standardInput: solc.StandardInput, ): Promise<solc.StandardOutput> { const standardInputStr = JSON.stringify(standardInput, null, 2); - const dockerCommand = - `docker run -i -a stdin -a stdout -a stderr ethereum/solc:${solcVersion} ` + `solc --standard-json`; + const dockerCommand = `docker run -i -a stdin -a stdout -a stderr ethereum/solc:${solcVersion} solc --standard-json`; const standardOutputStr = execSync(dockerCommand, { input: standardInputStr }).toString(); const compiled: solc.StandardOutput = JSON.parse(standardOutputStr); return compiled; |