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:
authornlf <quitlahok@gmail.com>2022-03-03 00:19:59 +0300
committerGitHub <noreply@github.com>2022-03-03 00:19:59 +0300
commit9e43de8a59e5bf354a9595ed8a79fedcec085aaa (patch)
treee79e0645a304bcaa0d5fc8fd375ddebb00ebef51 /lib
parent0cfc155db5f11ce23419e440111d99a63bf39754 (diff)
fix: ignore implicit workspace for whoami (#4493)
Diffstat (limited to 'lib')
-rw-r--r--lib/commands/whoami.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/whoami.js b/lib/commands/whoami.js
index d2ff6fd02..4497f9b3a 100644
--- a/lib/commands/whoami.js
+++ b/lib/commands/whoami.js
@@ -5,7 +5,7 @@ class Whoami extends BaseCommand {
static description = 'Display npm username'
static name = 'whoami'
static params = ['registry']
- static ignoreImplicitWorkspace = false
+ static ignoreImplicitWorkspace = true
async exec (args) {
const username = await getIdentity(this.npm, { ...this.npm.flatOptions })