From 294185d1d38e13b04ae3473b93d47d474e334d56 Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Tue, 14 Apr 2015 22:36:54 -0300 Subject: [PATCH] [bugfix] Fixed undefined var in DiagnoseCommand::execute(). --- src/Composer/Command/DiagnoseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index c24b59290..26b3b8387 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/src/Composer/Command/DiagnoseCommand.php @@ -118,7 +118,7 @@ EOT } } catch (\Exception $e) { if ($e instanceof TransportException && $e->getCode() === 401) { - $this->outputResult('The oauth token for '.$domain.' seems invalid, run "composer config --global --unset github-oauth.'.$domain.'" to remove it'); + $this->outputResult('The oauth token for github.com seems invalid, run "composer config --global --unset github-oauth.github.com" to remove it'); } else { $this->outputResult($e); }