Skip to content

Commit

Permalink
fix: ignore implicit workspace for whoami (#4493)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Mar 2, 2022
1 parent 0cfc155 commit 9e43de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/whoami.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 9e43de8

Please sign in to comment.