From ba9284d4c27ebd824fbf48ffd4cc3d163b5906e7 Mon Sep 17 00:00:00 2001 From: Matthew Francis Brunetti Date: Sun, 25 Feb 2018 21:45:07 -0300 Subject: [PATCH] Fix test; Account for possibility of spaces in node binary path --- test/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/config.js b/test/config.js index ab5b6fc2..a57feff1 100644 --- a/test/config.js +++ b/test/config.js @@ -12,7 +12,7 @@ describe('config', function () { describe('preload', function () { it('loads .env', function (done) { cp.exec( - nodeBinary + ' -r ../config -e "console.log(process.env.BASIC)" dotenv_config_path=./test/.env', + '"' + nodeBinary + '" -r ../config -e "console.log(process.env.BASIC)" dotenv_config_path=./test/.env', function (err, stdout, stderr) { if (err) { return done(err)