aboutsummaryrefslogtreecommitdiff
path: root/npmPackages
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2023-12-31 18:33:03 +0200
committerIgor Pashev <pashev.igor@gmail.com>2023-12-31 18:33:03 +0200
commitd55e8a4f103cb2e1186ce684b07f17cdbb0217c8 (patch)
tree14ce8b9ef3803a677dc04634132cc5d36c75402e /npmPackages
parent8d840160db13435d747de626ac790d79033bdc61 (diff)
downloadnpm.nix-d55e8a4f103cb2e1186ce684b07f17cdbb0217c8.tar.gz
Diffstat (limited to 'npmPackages')
-rw-r--r--npmPackages/_scripts/strip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/npmPackages/_scripts/strip.js b/npmPackages/_scripts/strip.js
index 1ac90e7..653df97 100644
--- a/npmPackages/_scripts/strip.js
+++ b/npmPackages/_scripts/strip.js
@@ -28,7 +28,7 @@ for (var i = 0; i < args.length; i++) {
pipeThrough((pkg, done) => {
switch (phase) {
case 'postInstall':
- // fall throw
+ // fall through
case 'preInstall':
delete pkg.engines;
@@ -36,7 +36,7 @@ pipeThrough((pkg, done) => {
delete pkg.scripts;
delete pkg.tap;
delete pkg.xo;
- // fall throw
+ // fall through
case 'postConfigure':
delete pkg.devDependencies;