diff options
author | isaacs <i@izs.me> | 2020-03-03 10:41:39 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-05-08 04:11:53 +0300 |
commit | fa16e6a5e0c2273f1da28ee20d103a582482363e (patch) | |
tree | 56fa75d6bcfcb44c946bac45a6d3268037624807 /lib/org.js | |
parent | 504384bbdc8b51d311f79da2d41d37f2e70ba933 (diff) |
refactor otplease, remove figgy-pudding and bluebird
Diffstat (limited to 'lib/org.js')
-rw-r--r-- | lib/org.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/org.js b/lib/org.js index c21be9099..6108af7fb 100644 --- a/lib/org.js +++ b/lib/org.js @@ -36,12 +36,7 @@ function UsageError () { } function org ([cmd, orgname, username, role], cb) { - return otplease({ ...npm.flatOptions }, optsWithOtp => { - const opts = { - ...npm.flatOptions, - ...optsWithOtp - } - + return otplease(npm.flatOptions, opts => { switch (cmd) { case 'add': case 'set': |