Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Fix exit code of script/test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbrunsfeld committed Mar 8, 2017
1 parent 9bb943e commit d766103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ normalizeCommand = (command) => {
if (argv.interactive) {
childProcess.spawnSync(normalizeCommand('./node_modules/.bin/electron'), ['spec/support/runner', 'spec/**/*-spec.*'], {stdio: 'inherit', cwd: path.join(__dirname, '..')})
} else {
process.exit(childProcess.spawnSync(normalizeCommand('./node_modules/.bin/jasmine'), ['--captureExceptions', '--forceexit', '--stop-on-failure=true'], {stdio: 'inherit'}))
process.exit(childProcess.spawnSync(normalizeCommand('./node_modules/.bin/jasmine'), ['--captureExceptions', '--forceexit', '--stop-on-failure=true'], {stdio: 'inherit'}).status)
}

1 comment on commit d766103

@maxbrunsfeld
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎩 @dirk-thomas for #222

Please sign in to comment.