Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / consolidation / robo / src / Application.php
index 19d4725f3b16549773fd2585d06e46b46c0feea3..6e9bc0dcd8ad7ced9bca6b0124a0717fe6d5b80b 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 namespace Robo;
 
+use SelfUpdate\SelfUpdateCommand;
 use Symfony\Component\Console\Application as SymfonyApplication;
 use Symfony\Component\Console\Command\Command;
 use Symfony\Component\Console\Input\InputOption;
@@ -64,7 +65,7 @@ class Application extends SymfonyApplication
      */
     public function addSelfUpdateCommand($repository = null)
     {
-        if (!$repository) {
+        if (!$repository || empty(\Phar::running())) {
             return;
         }
         $selfUpdateCommand = new SelfUpdateCommand($this->getName(), $this->getVersion(), $repository);