Skip to content

Commit

Permalink
Fix #4215: More permissive bootstrap checking
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Aug 4, 2020
1 parent f387745 commit e3f6e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Robo/Inspector/Inspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public function isDrupalInstalled() {
$uri = $this->getConfigValue('drush.uri');
$result = $this->executor->drush("--uri=$uri status bootstrap")->run();
$output = trim($result->getMessage());
$installed = $result->wasSuccessful() && $output == 'Drupal bootstrap : Successful';
$installed = $result->wasSuccessful() && strpos($output, 'Drupal bootstrap : Successful') !== false;
$this->logger->debug("Drupal bootstrap results: $output");

return $installed;
Expand Down

0 comments on commit e3f6e9d

Please sign in to comment.