Skip to content

Commit

Permalink
Closes #4071 by setting -y to sql-sync command (#4223)
Browse files Browse the repository at this point in the history
* Fix #4071 by setting -y to sql-sync command

* $options as inline
  • Loading branch information
back-2-95 authored and weitzman committed Oct 21, 2019
1 parent ae6c3b4 commit b0a2a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/sql/SqlSyncCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function rsync($options, SiteAlias $sourceRecord, SiteAlias $targetRecord
$runner = $targetRecord;
}
$this->logger()->notice(dt('Copying dump file from source to target.'));
$process = $this->processManager()->drush($runner, 'core-rsync', [$sourceRecord->name() . ":$source_dump_path", $targetRecord->name() . ":$target_dump_path"], [], $double_dash_options);
$process = $this->processManager()->drush($runner, 'core-rsync', [$sourceRecord->name() . ":$source_dump_path", $targetRecord->name() . ":$target_dump_path"], ['yes' => true], $double_dash_options);
$process->mustRun($process->showRealtime());
}
return $target_dump_path;
Expand Down

0 comments on commit b0a2a2e

Please sign in to comment.