mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
💄
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user