From 3ccea96d8ab9cd2f69dd1bc9107d02d0b72236d9 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 19 Nov 2015 10:34:17 -0800 Subject: [PATCH] env is an object --- e2etestrunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2etestrunner.js b/e2etestrunner.js index 4f2f785..0414a15 100755 --- a/e2etestrunner.js +++ b/e2etestrunner.js @@ -80,7 +80,7 @@ function getLatestBoxVersion(callback) { function runTests(latestVersionInfo, callback) { debug('Running tests for %j', latestVersionInfo); - gNpmTest = shell.system('e2etestrunner', 'npm run-script parallel_test', { env: [ 'BOX_VERSION=' + latestVersionInfo.version ] }, function (error, stdout, stderr) { + gNpmTest = shell.system('e2etestrunner', 'npm run-script parallel_test', { env: { BOX_VERSION: latestVersionInfo.version } }, function (error, stdout, stderr) { gNpmTest = null; debug('Final test result', error);