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>2021-03-24 23:37:05 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-03-25 00:04:26 +0300
commit200bee74b31a738687446b7b535cac67b1c582fd (patch)
treefe55030bb7a18d51d3c5960d4ef2e97a0912e8c5 /tap-snapshots
parent7b45e9df6102c7bd6e403d1fdc9939581c38f546 (diff)
fix(config): accept explicit production=false
This allows for overriding the implicit omit value based on if NODE_ENV=production PR-URL: https://github.com/npm/cli/pull/2951 Credit: @wraithgar Close: #2951 Reviewed-by: @ruyadorno
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js b/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
index cfb34dfad..a85f90ac8 100644
--- a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
@@ -1338,8 +1338,8 @@ Alias for --include=optional or --omit=optional
#### \`production\`
-* Default: false
-* Type: Boolean
+* Default: null
+* Type: null or Boolean
* DEPRECATED: Use \`--omit=dev\` instead.
Alias for \`--omit=dev\`