Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/commands/org.js')
-rw-r--r--deps/npm/lib/commands/org.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/npm/lib/commands/org.js b/deps/npm/lib/commands/org.js
index c6882a8e263..89859200fed 100644
--- a/deps/npm/lib/commands/org.js
+++ b/deps/npm/lib/commands/org.js
@@ -2,6 +2,7 @@ const liborg = require('libnpmorg')
const otplease = require('../utils/otplease.js')
const Table = require('cli-table3')
const BaseCommand = require('../base-command.js')
+const log = require('../utils/log-shim.js')
class Org extends BaseCommand {
static description = 'Manage orgs'
@@ -32,7 +33,10 @@ class Org extends BaseCommand {
}
async exec ([cmd, orgname, username, role], cb) {
- return otplease(this.npm.flatOptions, opts => {
+ return otplease({
+ ...this.npm.flatOptions,
+ log,
+ }, opts => {
switch (cmd) {
case 'add':
case 'set':