env does not append, it replaces

This commit is contained in:
Girish Ramakrishnan 2015-11-19 13:18:58 -08:00
parent fa39628baa
commit e473606727
1 changed files with 1 additions and 1 deletions

View File

@ -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', 'BOX_VERSION=' + latestVersionInfo.version + ' npm run-script parallel_test', function (error, stdout, stderr) {
gNpmTest = null;
debug('Final test result', error);