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