diff options
author | isaacs <i@izs.me> | 2020-03-05 09:45:47 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-05-08 04:12:27 +0300 |
commit | b798bbfd80537f782912d788c1693c2bea908703 (patch) | |
tree | 1a673542a9d32320b8bbdd22f209f28596f2194b /lib | |
parent | d31ba3d519ed24874dd6a51c5d2f6a1faafd56a2 (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.js | 2 |
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) |