Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 83e31c5

Browse files
authored
Displaying update output. (#755)
1 parent 6b94af8 commit 83e31c5

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/Composer/Plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ protected function executeBltUpdate($version) {
133133

134134
// Rsyncs, updates composer.json, project.yml, executes scripted updates for version delta.
135135
$pre_composer_json = md5_file($this->getRepoRoot() . DIRECTORY_SEPARATOR . 'composer.json');
136-
$success = $this->executeCommand('blt update');
136+
$success = $this->executeCommand('blt update', [], TRUE);
137137
if (!$success) {
138138
$this->io->write("<error>BLT update script failed! Run `blt update -verbose` to retry.</error>");
139139
}

src/Update/Updates.php

+1-6
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,7 @@ public function update_860() {
6363
unset($project_config['modules']['deploy']);
6464
}
6565

66-
// Update .travis.yml.
67-
$this->updater->replaceInFile(
68-
'.travis.yml',
69-
" - drupal yaml:update:value project.yml project.local.hostname '127.0.0.1:8888'",
70-
" - drupal yaml:update:value blt/project.yml project.local.hostname '127.0.0.1:8888'"
71-
);
66+
$this->updater->getOutput()->writeln("<comment>You MUST remove .travis.yml and re-initialize Travis CI support with `blt ci:travis:init`.</comment>");
7267
}
7368

7469
}

0 commit comments

Comments
 (0)