From 200bee74b31a738687446b7b535cac67b1c582fd Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 24 Mar 2021 13:37:05 -0700 Subject: 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 --- tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tap-snapshots') 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\` -- cgit v1.2.3