From 3434a68ac0e4bf776d6cd4ab9dc354da2ffaa5c0 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 25 Feb 2014 19:55:19 -0800 Subject: [PATCH] Only use token to download grunt-download-atom-shell --- build/Gruntfile.coffee | 3 --- build/package.json | 2 +- script/bootstrap | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index aa9d7c33f..4dcb4c372 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -11,9 +11,6 @@ _ = require 'underscore-plus' packageJson = require '../package.json' -# OAuth token for atom-bot, needed to download grunt-download-atom-shell -process.env.ATOM_ACCESS_TOKEN ?= '467bac80a0017b96fb5be5cfc686f5e0cc607b10' - # Shim harmony collections in case grunt was invoked without harmony # collections enabled _.extend(global, require('harmony-collections')) unless global.WeakMap? diff --git a/build/package.json b/build/package.json index 29b132fd4..b647289d0 100644 --- a/build/package.json +++ b/build/package.json @@ -18,7 +18,7 @@ "grunt-contrib-coffee": "~0.9.0", "grunt-contrib-less": "~0.8.0", "grunt-cson": "0.6.0", - "grunt-download-atom-shell": "git+https://atom-bot:362295be4c5258d3f7b967bbabae662a455ca2a7@github.com/atom/grunt-download-atom-shell#v0.6.0", + "grunt-download-atom-shell": "git+https://atom-bot:467bac80a0017b96fb5be5cfc686f5e0cc607b10@github.com/atom/grunt-download-atom-shell#v0.6.0", "grunt-lesslint": "0.13.0", "grunt-markdown": "~0.4.0", "grunt-peg": "~1.1.0", diff --git a/script/bootstrap b/script/bootstrap index 98c1688be..3954cb87b 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -3,10 +3,6 @@ var safeExec = require('./utils/child-process-wrapper.js').safeExec; var fs = require('fs'); var path = require('path'); -// OAuth token for atom-bot, needed to download grunt-download-atom-shell -if (!process.env.ATOM_ACCESS_TOKEN) - process.env.ATOM_ACCESS_TOKEN ?= '467bac80a0017b96fb5be5cfc686f5e0cc607b10' - // Executes an array of commands one by one. function executeCommands(commands, done, index) { index = (index == undefined ? 0 : index);