From 0a2b79c79bb1d9b92b9c1f353fe59ad5e92402d8 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 30 Apr 2013 19:39:08 +0000 Subject: [PATCH] Fix incorrect environment variable names in Grunt task. --- grunt/intern.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grunt/intern.js b/grunt/intern.js index 100fc6d86..6085a8d8c 100644 --- a/grunt/intern.js +++ b/grunt/intern.js @@ -18,7 +18,7 @@ module.exports = function (grunt) { }); [ 'sauceUsername', 'sauceAccessKey' ].forEach(function (option) { - opts[option] && (env[option] = opts[option]); + opts[option] && (env[{ sauceUsername: 'SAUCE_USERNAME', sauceAccessKey: 'SAUCE_ACCESS_KEY' }[option]] = opts[option]); }); var child = grunt.util.spawn({