Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-05-16 03:25:05 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:21 +0300
commit3c3428277b2d045d9eabd6826125f6055d174ff7 (patch)
tree0775d7aeac32c75aec5e2ee74ab6a23a8509aba9 /test
parentebbe7a0d005619d4ae3f54eb4b90ac4fac738abb (diff)
git-prepare: Fix child process npm run
Previously it used the global npm, not the npm we were running from.
Diffstat (limited to 'test')
-rw-r--r--test/tap/git-prepare.js (renamed from test/need-npm5-update/git-prepare.js)1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/need-npm5-update/git-prepare.js b/test/tap/git-prepare.js
index ae12bb518..1a61056b4 100644
--- a/test/need-npm5-update/git-prepare.js
+++ b/test/tap/git-prepare.js
@@ -94,6 +94,7 @@ test('install from git repo with prepare script', function (t) {
common.npm([
'install',
+ '--no-save',
'--registry', common.registry,
'--cache', cache,
'--loglevel', 'error'