1
0
Fork 0

Remove unnecessary sprintf

pull/10458/head
Jordi Boggiano 2022-01-13 11:34:20 +01:00
parent d76485af74
commit 6de9cacfd8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 4 deletions

View File

@ -96,10 +96,7 @@ class AuthHelper
if ($requiresSso) {
$ssoUrl = $gitHubUtil->getSsoUrl($headers);
$message = sprintf(
'GitHub API token requires SSO authorization. Authorize this token at ' . $ssoUrl,
$ssoUrl
) . "\n";
$message = 'GitHub API token requires SSO authorization. Authorize this token at ' . $ssoUrl . "\n";
$this->io->writeError($message);
if (!$this->io->isInteractive()) {
throw new TransportException('Could not authenticate against ' . $origin, 403);