Skip to content

Commit 98bfd9a

Browse files
XhmikosRNathan Fritz
authored andcommitted
fix: remove always true condition (#4590)
1 parent 723a091 commit 98bfd9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/commands/owner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Owner extends BaseCommand {
125125
throw err
126126
}
127127

128-
if (user && (!u || !u.name || u.error)) {
128+
if (!u || !u.name || u.error) {
129129
throw Object.assign(
130130
new Error(
131131
"Couldn't get user data for " + user + ': ' + JSON.stringify(u)

0 commit comments

Comments
 (0)