Remove unnecessary sprintf

main
Jordi Boggiano 2 years ago
parent d76485af74
commit 6de9cacfd8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -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);

Loading…
Cancel
Save