X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Fcommands%2Fcore%2Fcli.drush.inc;fp=vendor%2Fdrush%2Fdrush%2Fcommands%2Fcore%2Fcli.drush.inc;h=9d9a2d1e3bd808f79634f1c0baf0ce71222c8288;hp=aea368487a98436ee97c41c4c96bc45feef2588d;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drush/drush/commands/core/cli.drush.inc b/vendor/drush/drush/commands/core/cli.drush.inc index aea368487..9d9a2d1e3 100644 --- a/vendor/drush/drush/commands/core/cli.drush.inc +++ b/vendor/drush/drush/commands/core/cli.drush.inc @@ -5,6 +5,7 @@ use Drupal\Component\Assertion\Handle; use Drush\Psysh\DrushHelpCommand; use Drush\Psysh\DrushCommand; use Drush\Psysh\Shell; +use Psy\VersionUpdater\Checker; /** * Implements hook_drush_command(). @@ -41,6 +42,9 @@ function drush_cli_core_cli() { // Set the Drush specific history file path. $configuration->setHistoryFile(drush_history_path_cli()); + // Disable checking for updates. Our dependencies are managed with Composer. + $configuration->setUpdateCheck(Checker::NEVER); + $shell = new Shell($configuration); if ($drupal_major_version >= 8) {