Skip to content

Commit 9e43de8

Browse files
authored
fix: ignore implicit workspace for whoami (#4493)
1 parent 0cfc155 commit 9e43de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/whoami.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Whoami extends BaseCommand {
55
static description = 'Display npm username'
66
static name = 'whoami'
77
static params = ['registry']
8-
static ignoreImplicitWorkspace = false
8+
static ignoreImplicitWorkspace = true
99

1010
async exec (args) {
1111
const username = await getIdentity(this.npm, { ...this.npm.flatOptions })

0 commit comments

Comments
 (0)