Skip to content

Commit

Permalink
Fixes #2580: Recent Project Update throws intimidating error. (#2581)
Browse files Browse the repository at this point in the history
* Fixes #2580: Recent Project Update throws intimidating error.

* Update Plugin.php

Fix typo.
  • Loading branch information
grasmash authored Feb 28, 2018
1 parent 5b07acf commit 64edfed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Composer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,7 @@ protected function executeBltUpdate($version) {
* TRUE if this is the initial install of BLT.
*/
protected function isInitialInstall() {
if (!file_exists($this->getRepoRoot() . '/blt/blt.yml')
&& !file_exists($this->getRepoRoot() . '/blt/project.yml')
&& !file_exists($this->getRepoRoot() . '/blt/.schema-version')
) {
if (!file_exists($this->getRepoRoot() . '/blt/.schema-version')) {
return TRUE;
}

Expand Down

0 comments on commit 64edfed

Please sign in to comment.