Skip to content

Commit

Permalink
Issue #25: Make name consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
ademarco committed Jan 13, 2018
1 parent e6f494e commit aa11c99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Global Task Runner settings.
runner:
bin-dir: "./vendor/bin"
bin_dir: "./vendor/bin"

# Drupal-related setting values.
# All default values below refers to Drupal 8.
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/BaseCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function initializeRuntimeConfiguration(ConsoleCommandEvent $event)
*/
protected function getBin($name)
{
$filename = $this->getConfig()->get('runner.bin-dir').'/'.$name;
$filename = $this->getConfig()->get('runner.bin_dir').'/'.$name;
if (!file_exists($filename) && !$this->isSimulating()) {
throw new TaskException($this, "Executable '{$filename}' not found.");
}
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/simulation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
- command: 'drupal:site-install --root="overridden"'
configuration:
runner:
bin-dir: "./bin"
bin_dir: "./bin"
composer: ''
contains:
- "./bin/drush -y --root=$(pwd)/overridden"
Expand Down

0 comments on commit aa11c99

Please sign in to comment.