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
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-05-19 01:34:49 +0300
committerGitHub <noreply@github.com>2022-05-19 01:34:49 +0300
commit400c80f570228a2c0ffe09d6564cc88dc2f356c3 (patch)
tree54d392eb90a52cd418f2db17508dbeab8b981a53 /tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
parent8898710220a3d84b0a9ea2a6d9cf880e50b94c9e (diff)
fix(ci): remove node_modules post-validation (#4913)
The removal of node_modules was happening in a race with the loading of the virtualTree, and before the validation of the package-lock against the package.json. This defers the removal till after all that validation has happened. It also makes the errors thrown usage errors, and refactors the tests to be real.
Diffstat (limited to 'tap-snapshots/test/lib/utils/npm-usage.js.test.cjs')
-rw-r--r--tap-snapshots/test/lib/utils/npm-usage.js.test.cjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
index 22fad5c77..e7660911f 100644
--- a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
@@ -251,7 +251,7 @@ All commands:
Run "npm help cache" for more info
- ci Install a project with a clean slate
+ ci Clean install a project
Usage:
npm ci