Skip to content

Commit

Permalink
Merge pull request gulpjs#6 from mischkl/master
Browse files Browse the repository at this point in the history
make node path use process.execPath to fix Windows issue
  • Loading branch information
Tyler Kellen committed Nov 26, 2014
2 parents 45ab1e0 + ec80626 commit 0440b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');

const exec = require('child_process').exec;
// this is from the env of npm, not node
const nodePath = process.env.NODE;
const nodePath = process.execPath;
const version = process.versions.v8;
const tmpfile = path.join(__dirname, version+'.flags.json');

Expand Down

0 comments on commit 0440b3e

Please sign in to comment.