Skip to content

Commit

Permalink
Do not wait for user input when installing Drupal
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanzante committed Jan 25, 2024
1 parent 3bacbe6 commit 5abc5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ protected function installDrupal(string $project_name) {
$drush_yml = file_get_contents('./web/sites/default/example.local.drush.yml');
$drush_yml = str_replace('example', $project_name, $drush_yml);
file_put_contents('./web/sites/default/local.drush.yml', $drush_yml);
$this->runDockerComposeCmd("exec php drush si {$available_profile_machine_names[$selected_profile_index]}");
$this->runDockerComposeCmd("exec php drush -y si {$available_profile_machine_names[$selected_profile_index]}");
$this->runDockerComposeCmd('exec php drush cr');
}
}
Expand Down

0 comments on commit 5abc5ed

Please sign in to comment.