diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-16 05:26:59 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:22 +0300 |
commit | 2d346e9ba9e64cffffd2bdd0d19a2be2413ebb61 (patch) | |
tree | 729854e63bbed0173839e59cbcf9b4426b89dfaf /lib | |
parent | 96532ff5f9c7bddf2add0204164e79e9fe6c3616 (diff) |
pacote: use the current node + npm to run git installs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config/pacote.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config/pacote.js b/lib/config/pacote.js index 8fc75dcee..13b7b53f5 100644 --- a/lib/config/pacote.js +++ b/lib/config/pacote.js @@ -123,7 +123,8 @@ function prepareAndPack (manifest, dir) { } return acc }, []) - const child = cp.spawn('npm', [ + const child = cp.spawn(process.env.NODE || process.execPath, [ + require.main.filename, 'install', '--ignore-prepublish', '--no-progress', |