Return early when no token set

This commit is contained in:
Kevin Sawicki 2014-10-23 10:01:26 -07:00
parent 0417458fbb
commit d7019509e3

View File

@ -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()