Remove output if the token can be fetched automatically
parent
c53729793b
commit
31a1bd2c39
|
@ -53,7 +53,6 @@ class GitHub
|
||||||
{
|
{
|
||||||
// if available use token from git config
|
// if available use token from git config
|
||||||
if (0 === $this->process->execute('git config github.accesstoken', $output)) {
|
if (0 === $this->process->execute('git config github.accesstoken', $output)) {
|
||||||
$this->io->write('Using Github OAuth token stored in git config (github.accesstoken)');
|
|
||||||
$this->io->setAuthorization($originUrl, trim($output), 'x-oauth-basic');
|
$this->io->setAuthorization($originUrl, trim($output), 'x-oauth-basic');
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue