This commit is contained in:
Kevin Sawicki
2014-09-22 17:13:05 -07:00
parent c61c07f07d
commit 7581832658

View File

@@ -33,9 +33,7 @@ module.exports = (grunt) ->
args = [path.join(grunt.config.get('atom.shellAppDir'), 'atom.exe')]
spawn {cmd, args}, (error) ->
if error?
callback(error)
return
return callback(error)if error?
args = [path.join(grunt.config.get('atom.shellAppDir'), '..', 'Releases', 'setup.exe')]
spawn {cmd, args}, (error) -> callback(error)