diff options
author | nlf <quitlahok@gmail.com> | 2022-03-03 00:19:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 00:19:59 +0300 |
commit | 9e43de8a59e5bf354a9595ed8a79fedcec085aaa (patch) | |
tree | e79e0645a304bcaa0d5fc8fd375ddebb00ebef51 /lib | |
parent | 0cfc155db5f11ce23419e440111d99a63bf39754 (diff) |
fix: ignore implicit workspace for whoami (#4493)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/commands/whoami.js | 2 |
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 }) |