From daee4828e08351e5fbb4c7fa93447565eaf14b01 Mon Sep 17 00:00:00 2001 From: Matthew Grasmick <matt.grasmick@gmail.com> Date: Tue, 6 Dec 2016 10:40:44 -0500 Subject: [PATCH] Displaying update output. --- src/Composer/Plugin.php | 2 +- src/Update/Updates.php | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Composer/Plugin.php b/src/Composer/Plugin.php index 4273687bf..376a58942 100644 --- a/src/Composer/Plugin.php +++ b/src/Composer/Plugin.php @@ -133,7 +133,7 @@ protected function executeBltUpdate($version) { // Rsyncs, updates composer.json, project.yml, executes scripted updates for version delta. $pre_composer_json = md5_file($this->getRepoRoot() . DIRECTORY_SEPARATOR . 'composer.json'); - $success = $this->executeCommand('blt update'); + $success = $this->executeCommand('blt update', [], TRUE); if (!$success) { $this->io->write("<error>BLT update script failed! Run `blt update -verbose` to retry.</error>"); } diff --git a/src/Update/Updates.php b/src/Update/Updates.php index 1f7b7aec4..b76b29ffd 100644 --- a/src/Update/Updates.php +++ b/src/Update/Updates.php @@ -63,12 +63,7 @@ public function update_860() { unset($project_config['modules']['deploy']); } - // Update .travis.yml. - $this->updater->replaceInFile( - '.travis.yml', - " - drupal yaml:update:value project.yml project.local.hostname '127.0.0.1:8888'", - " - drupal yaml:update:value blt/project.yml project.local.hostname '127.0.0.1:8888'" - ); + $this->updater->getOutput()->writeln("<comment>You MUST remove .travis.yml and re-initialize Travis CI support with `blt ci:travis:init`.</comment>"); } }