Only exit specs on exceptions when exitWhenDone is true

This commit is contained in:
probablycorey
2013-03-26 14:57:03 -07:00
parent 75fbab94b1
commit 187263173b

View File

@@ -7,4 +7,4 @@ try
runSpecSuite "spec-suite"
catch e
console.error(e.stack)
atom.exit(1)
atom.exit(1) if window.location.params.exitWhenDone