|
|
|
@ -11,14 +11,13 @@ commands.forEach(val => { |
|
|
|
|
const bash = spawn('apps/remix-ide-e2e/script.sh', [env, filePath]); |
|
|
|
|
|
|
|
|
|
bash.stdout.on('data', (data) => { |
|
|
|
|
console.log(data.toString()); |
|
|
|
|
console.log(data.toString()) |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
bash.stderr.on('data', (data) => { |
|
|
|
|
console.log(data.toString()); |
|
|
|
|
throw new Error(data) |
|
|
|
|
console.log(data.toString()) |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
bash.on('exit', (code) => { |
|
|
|
|
console.log(`Process exited with code ${code}`); |
|
|
|
|
console.log(`Process exited with code ${code}`) |
|
|
|
|
}); |