Commit df23d02e authored by ioedeveloper's avatar ioedeveloper

Revert "Do not throw error"

This reverts commit d369491336666c39da916c882655b07b21545702.
parent 6ec919c1
......@@ -20,7 +20,7 @@ bash.stderr.on('data', (data) => {
bash.on('exit', (code) => {
console.log(`Process exited with code ${code}`)
// if (parseInt(code) === 1) {
// throw new Error('Failed with error code 1')
// }
if (parseInt(code) === 1) {
throw new Error('Failed with error code 1')
}
})
\ No newline at end of file
......@@ -16,7 +16,7 @@ fi
eval $TEST_SCRIPT || TEST_EXITCODE=1;
echo $TEST_EXITCODE;
echo $TEST_EXITCODE
if [ "$TEST_EXITCODE" -eq "1" ]
then
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment