mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Return early when no token set
This commit is contained in:
parent
0417458fbb
commit
d7019509e3
@ -39,7 +39,7 @@ module.exports = (gruntObject) ->
|
|||||||
doneCallback(args...)
|
doneCallback(args...)
|
||||||
|
|
||||||
unless token
|
unless token
|
||||||
done(new Error('ATOM_ACCESS_TOKEN environment variable not set'))
|
return done(new Error('ATOM_ACCESS_TOKEN environment variable not set'))
|
||||||
|
|
||||||
buildDir = grunt.config.get('atom.buildDir')
|
buildDir = grunt.config.get('atom.buildDir')
|
||||||
assets = getAssets()
|
assets = getAssets()
|
||||||
|
Loading…
Reference in New Issue
Block a user