Log when token is missing

This commit is contained in:
Kevin Sawicki 2014-10-23 09:56:44 -07:00
parent ff32fff483
commit 0417458fbb

View File

@ -38,6 +38,9 @@ module.exports = (gruntObject) ->
grunt.log.ok("Upload time: #{elapsedTime}s")
doneCallback(args...)
unless token
done(new Error('ATOM_ACCESS_TOKEN environment variable not set'))
buildDir = grunt.config.get('atom.buildDir')
assets = getAssets()