Allow self-update to be called outside of a project context
parent
b8042f58a4
commit
aacdcb1570
|
@ -39,8 +39,6 @@ EOT
|
||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output)
|
protected function execute(InputInterface $input, OutputInterface $output)
|
||||||
{
|
{
|
||||||
$composer = $this->getComposer();
|
|
||||||
|
|
||||||
$latest = trim(file_get_contents('http://getcomposer.org/version'));
|
$latest = trim(file_get_contents('http://getcomposer.org/version'));
|
||||||
|
|
||||||
if (Composer::VERSION !== $latest) {
|
if (Composer::VERSION !== $latest) {
|
||||||
|
|
Loading…
Reference in New Issue