mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
exit(1) when spec-bootstrap throws an error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user