Remove unnecessary sprintf
parent
d76485af74
commit
6de9cacfd8
|
@ -96,10 +96,7 @@ class AuthHelper
|
||||||
|
|
||||||
if ($requiresSso) {
|
if ($requiresSso) {
|
||||||
$ssoUrl = $gitHubUtil->getSsoUrl($headers);
|
$ssoUrl = $gitHubUtil->getSsoUrl($headers);
|
||||||
$message = sprintf(
|
$message = 'GitHub API token requires SSO authorization. Authorize this token at ' . $ssoUrl . "\n";
|
||||||
'GitHub API token requires SSO authorization. Authorize this token at ' . $ssoUrl,
|
|
||||||
$ssoUrl
|
|
||||||
) . "\n";
|
|
||||||
$this->io->writeError($message);
|
$this->io->writeError($message);
|
||||||
if (!$this->io->isInteractive()) {
|
if (!$this->io->isInteractive()) {
|
||||||
throw new TransportException('Could not authenticate against ' . $origin, 403);
|
throw new TransportException('Could not authenticate against ' . $origin, 403);
|
||||||
|
|
Loading…
Reference in New Issue