aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2019-01-30 20:05:18 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2019-01-30 20:11:18 +0800
commit33ed6a7c06dad6e96e59892f999a40e90ad93a91 (patch)
treecda2831914d2c560ab7007147536bef50d5ed52b /packages
parentc82a4a5760006056d6f87534605effe150678bf9 (diff)
downloaddexon-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.ts3
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;