Skip to content

Commit cabf7c5

Browse files
committed
Allow to use --no-interaction option.
1 parent 5ab0a16 commit cabf7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Blt/Plugin/Commands/DrushAliasCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ protected function writeSiteAliases($site_id, array $aliases) {
368368
}
369369
$filePath = $this->siteAliasDir . '/' . $site_id . '.site.yml';
370370
if (file_exists($filePath)) {
371-
if (!$this->confirm("File $filePath already exists and will be overwritten. Continue?")) {
371+
if (!$this->confirm("File $filePath already exists and will be overwritten. Continue?" , TRUE)) {
372372
throw new \Exception("Aborted at user request");
373373
}
374374
}

0 commit comments

Comments
 (0)