Only use token to download grunt-download-atom-shell

This commit is contained in:
Kevin Sawicki 2014-02-25 19:55:19 -08:00
parent 9a941b97cb
commit 3434a68ac0
3 changed files with 1 additions and 8 deletions

View File

@ -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?

View File

@ -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",

View File

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