@0x/sol-compiler: fix build error with new node types

This commit is contained in:
Lawrence Forman 2020-10-19 12:25:01 -04:00
parent db98ff8cb7
commit 52cbddf054

View File

@ -172,7 +172,7 @@ export async function compileDockerAsync(
'solc', '--standard-json',
];
return new Promise<solc.StandardOutput>((accept, reject) => {
const p = spawn('docker', dockerArgs, { shell: true, stdio: ['pipe', 'inherit', 'inherit'] });
const p = spawn('docker', dockerArgs, { shell: true, stdio: ['pipe', 'pipe', 'inherit'] });
p.stdin.write(standardInputStr);
p.stdin.end();
let fullOutput = '';