We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7fbd14 commit 6750164Copy full SHA for 6750164
configure.php
@@ -198,7 +198,7 @@ function searchCommitsForGithubUsername(): string
198
function guessGithubUsernameUsingCli()
199
{
200
try {
201
- if (preg_match('/ogged in to github\.com as ([a-zA-Z-_]+).+/', shell_exec('gh auth status -h github.com'), $matches) === 1) {
+ if (preg_match('/ogged in to github\.com as ([a-zA-Z-_]+).+/', shell_exec('gh auth status -h github.com 2>&1'), $matches)) {
202
return $matches[1];
203
}
204
} catch (Exception $e) {
0 commit comments