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
path: root/lib
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-03-05 09:45:47 +0300
committerisaacs <i@izs.me>2020-05-08 04:12:27 +0300
commitb798bbfd80537f782912d788c1693c2bea908703 (patch)
tree1a673542a9d32320b8bbdd22f209f28596f2194b /lib
parentd31ba3d519ed24874dd6a51c5d2f6a1faafd56a2 (diff)
team: no need to override flatOptions.description
That field has been moved under the 'search' object.
Diffstat (limited to 'lib')
-rw-r--r--lib/team.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/team.js b/lib/team.js
index 7a2c453ad..e9219e3dc 100644
--- a/lib/team.js
+++ b/lib/team.js
@@ -48,7 +48,7 @@ function team ([cmd, entity = '', user = ''], cb) {
// XXX: "description" option to libnpmteam is used as a description of the
// team, but in npm's options, this is a boolean meaning "show the
// description in npm search output". Hence its being set to null here.
- otplease({ ...npm.flatOptions, description: null }, opts => {
+ otplease(npm.flatOptions, opts => {
entity = entity.replace(/^@/, '')
switch (cmd) {
case 'create': return teamCreate(entity, opts)