summaryrefslogtreecommitdiff
path: root/deps/npm/lib/commands/profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/commands/profile.js')
-rw-r--r--deps/npm/lib/commands/profile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/npm/lib/commands/profile.js b/deps/npm/lib/commands/profile.js
index 9786e9ba4d..6b4d1407f7 100644
--- a/deps/npm/lib/commands/profile.js
+++ b/deps/npm/lib/commands/profile.js
@@ -108,7 +108,7 @@ class Profile extends BaseCommand {
async get (args) {
const tfa = 'two-factor auth'
const info = await pulseTillDone.withPromise(
- npmProfile.get({ ...this.npm.flatOptions, log })
+ npmProfile.get({ ...this.npm.flatOptions })
)
if (!info.cidr_whitelist) {
@@ -170,7 +170,7 @@ class Profile extends BaseCommand {
}
async set (args) {
- const conf = { ...this.npm.flatOptions, log }
+ const conf = { ...this.npm.flatOptions }
const prop = (args[0] || '').toLowerCase().trim()
let value = args.length > 1 ? args.slice(1).join(' ') : null
@@ -285,7 +285,7 @@ class Profile extends BaseCommand {
if (auth.basic) {
log.info('profile', 'Updating authentication to bearer token')
const result = await npmProfile.createToken(
- auth.basic.password, false, [], { ...this.npm.flatOptions, log }
+ auth.basic.password, false, [], { ...this.npm.flatOptions }
)
if (!result.token) {
@@ -309,7 +309,7 @@ class Profile extends BaseCommand {
log.info('profile', 'Determine if tfa is pending')
const userInfo = await pulseTillDone.withPromise(
- npmProfile.get({ ...this.npm.flatOptions, log })
+ npmProfile.get({ ...this.npm.flatOptions })
)
const conf = { ...this.npm.flatOptions }