Skip to content

Commit

Permalink
Fix test; Account for possibility of spaces in node binary path
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Feb 26, 2018
1 parent 7811099 commit ba9284d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ba9284d

Please sign in to comment.