Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed May 21, 2024
1 parent 42a0ce3 commit 6a66e9f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/DeploymentProvider/Rsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,13 @@ public function up(Closure $output = null, $dryrun = false, DeploymentResult $de
// silent per-server output when collating multiple streams
$silent = count($this->getTargetPaths()) > 1;
foreach ($this->getTargetPaths() as $server => $targetPath) {
$command = $this->buildCommand(
$this->beam->getLocalPath(),
$targetPath,
$dryrun
);
$result = $this->deploy(
$this->buildCommand(
$this->beam->getLocalPath(),
$targetPath,
$dryrun
),
$command,
$output,
$silent
);
Expand Down Expand Up @@ -396,7 +397,7 @@ protected function parseLine($line)
$change = [];
$matches = [];
if (1 !== preg_match(
'/
'/
(?:
(^\*\w+) # capture anything with a "*" then words e.g. "*deleting"
| # or
Expand All @@ -418,9 +419,9 @@ protected function parseLine($line)
[ ] # a space
(.*) # filename
/x',
$line,
$matches
)) {
$line,
$matches
)) {
return false;
}
if ($matches[1] == '*deleting') {
Expand Down

0 comments on commit 6a66e9f

Please sign in to comment.