Skip to content

Commit

Permalink
Allow to use --no-interaction option.
Browse files Browse the repository at this point in the history
  • Loading branch information
lcatlett committed Feb 11, 2020
1 parent 5ab0a16 commit cabf7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blt/Plugin/Commands/DrushAliasCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ protected function writeSiteAliases($site_id, array $aliases) {
}
$filePath = $this->siteAliasDir . '/' . $site_id . '.site.yml';
if (file_exists($filePath)) {
if (!$this->confirm("File $filePath already exists and will be overwritten. Continue?")) {
if (!$this->confirm("File $filePath already exists and will be overwritten. Continue?" , TRUE)) {
throw new \Exception("Aborted at user request");
}
}
Expand Down

0 comments on commit cabf7c5

Please sign in to comment.