Skip to content

Commit

Permalink
OPENEUROPA-1149: Update the logic of the force option.
Browse files Browse the repository at this point in the history
  • Loading branch information
voidtek committed Oct 1, 2018
1 parent e19ac9b commit 63f4048
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"consolidation/robo": "^1.2.2",
"consolidation/robo": "^1.3",
"gitonomy/gitlib": "^1.0",
"nuvoleweb/robo-config": "^0.2.1",
"jakeasmith/http_build_url": "^1.0.1"
Expand Down
1 change: 0 additions & 1 deletion config/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ drupal:
sites_subdir: "default"
config_dir: ~
settings_override_file: "settings.override.php"
force: true

# Administrator account information.
account:
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/DrupalCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function drushSetup(array $options = [
* @option root Drupal root.
* @option sites-subdir Drupal site subdirectory.
* @option settings-override-file Drupal site settings override filename.
* @option force Drupal force site settings override.
* @option force Drupal force generation of a new settings.php.
*
* @param array $options
*
Expand All @@ -290,7 +290,7 @@ public function settingsSetup(array $options = [
'root' => InputOption::VALUE_REQUIRED,
'sites-subdir' => InputOption::VALUE_REQUIRED,
'settings-override-file' => InputOption::VALUE_REQUIRED,
'force' => InputOption::VALUE_REQUIRED,
'force' => false,
])
{
$settings_default_path = $options['root'] . '/sites/' . $options['sites-subdir'] . '/default.settings.php';
Expand Down

0 comments on commit 63f4048

Please sign in to comment.