diff --git a/build/tasks/publish-build-task.coffee b/build/tasks/publish-build-task.coffee index 401d39fa0..e5e7f6ccc 100644 --- a/build/tasks/publish-build-task.coffee +++ b/build/tasks/publish-build-task.coffee @@ -15,7 +15,7 @@ defaultHeaders = Authorization: "token #{token}" 'User-Agent': 'Atom' -module.exports = -> +module.exports = (grunt) -> grunt.registerTask 'publish-build', 'Publish the built app', -> return unless process.platform is 'darwin' return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master'