1
0
Fork 0

[bugfix] Fixed undefined var in DiagnoseCommand::execute().

pull/3940/head
Javier Spagnoletti 2015-04-14 22:36:54 -03:00
parent 05e08889ed
commit 294185d1d3
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ EOT
} }
} catch (\Exception $e) { } catch (\Exception $e) {
if ($e instanceof TransportException && $e->getCode() === 401) { if ($e instanceof TransportException && $e->getCode() === 401) {
$this->outputResult('<comment>The oauth token for '.$domain.' seems invalid, run "composer config --global --unset github-oauth.'.$domain.'" to remove it</comment>'); $this->outputResult('<comment>The oauth token for github.com seems invalid, run "composer config --global --unset github-oauth.github.com" to remove it</comment>');
} else { } else {
$this->outputResult($e); $this->outputResult($e);
} }