exit(1) when spec-bootstrap throws an error

This commit is contained in:
probablycorey 2013-03-26 14:19:45 -07:00
parent 00fd7fc00f
commit 60189c0135

View File

@ -1,6 +1,10 @@
require 'atom'
atom.show()
{runSpecSuite} = require 'jasmine-helper'
try
require 'atom'
atom.show()
{runSpecSuite} = require 'jasmine-helper'
document.title = "Spec Suite"
runSpecSuite "spec-suite"
document.title = "Spec Suite"
runSpecSuite "spec-suite"
catch e
console.error(e.stack)
atom.exit(1)