diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-30 20:05:18 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-30 20:11:18 +0800 |
commit | 33ed6a7c06dad6e96e59892f999a40e90ad93a91 (patch) | |
tree | cda2831914d2c560ab7007147536bef50d5ed52b /packages | |
parent | c82a4a5760006056d6f87534605effe150678bf9 (diff) | |
download | dexon-0x-contracts-33ed6a7c06dad6e96e59892f999a40e90ad93a91.tar.gz dexon-0x-contracts-33ed6a7c06dad6e96e59892f999a40e90ad93a91.tar.zst dexon-0x-contracts-33ed6a7c06dad6e96e59892f999a40e90ad93a91.zip |
Remove + concatenation
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; |