Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Nov 20, 2023
1 parent f4a5797 commit 01d86f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function guessGitHubVendorInfo($authorName, $username): array
$response = getGitHubApiEndpoint("orgs/{$remoteUrlParts[1]}");

if ($response === null) {
return $username;
return [$authorName, $username];
}

return [$response->name ?? $authorName, $response->login ?? $username];
Expand Down

0 comments on commit 01d86f4

Please sign in to comment.