Revert "Do not throw error"

This reverts commit d369491336666c39da916c882655b07b21545702.
fix-debugger
ioedeveloper 4 years ago
parent 6ec919c1d2
commit df23d02e66
  1. 6
      apps/remix-ide-e2e/script.js
  2. 2
      apps/remix-ide-e2e/script.sh

@ -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')
}
})

@ -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

Loading…
Cancel
Save