From c19a3a92d29efac409b6430c5243753499eb2b9f Mon Sep 17 00:00:00 2001 From: nlf Date: Wed, 2 Mar 2022 12:59:52 -0800 Subject: [PATCH] fix: ignore implicit workspace for whoami --- lib/commands/whoami.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/whoami.js b/lib/commands/whoami.js index d2ff6fd02bcdd..4497f9b3a542d 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 })