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:
authorRuy Adorno <ruyadorno@hotmail.com>2020-09-03 03:38:34 +0300
committerisaacs <i@izs.me>2020-09-04 04:27:51 +0300
commitac5aa709a8609ec2beb7a8c60b3bde18f882f4e8 (patch)
tree460a7bd21f44f935cd43012475b441793ea74362 /tap-snapshots
parentef8f5676b1c90dcf44256b8ed1f61ddb6277c23a (diff)
fix: scope config
The `flatOptions.scope` option should not default to `projectScope` since that's causing projects that have a defined `projectScope` corresponding to configured scoped registries to try and download ALL packages (including the ones that should be downloaded from the public registry) to be fetch from that scoped registry url. fix #1654 PR-URL: https://github.com/npm/cli/pull/1758 Credit: @ruyadorno Close: #1758 Reviewed-by: @isaacs
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
index a5275eedb..89a552729 100644
--- a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
@@ -96,7 +96,7 @@ Object {
"saveBundle": false,
"savePrefix": "",
"saveType": "peerOptional",
- "scope": "@npmcli",
+ "scope": "",
"scriptShell": "script-shell",
"search": Object {
"description": "description",