Do not throw error

fix-debugger
ioedeveloper 4 years ago
parent 4213f20867
commit 6ec919c1d2
  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