Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI (#77)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
warrickbayman authored Sep 27, 2021
1 parent 04c4f11 commit d77f18d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Deployer.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,12 @@ protected function getAssetCommands(array $assets, string $releasePath): array

foreach ($assets as $asset => $target) {
if (! file_exists($asset)) {
$commands[] = 'echo '.$asset . ' not found. Skipping.';
$commands[] = 'echo '.$asset.' not found. Skipping.';
continue;
}

$target = Str::startsWith($target, '/') ? $target : '/'.$target;


$commands[] = 'scp -P'
.$this->server->port() // port
.' -r '.$asset.' ' // local asset
Expand Down

0 comments on commit d77f18d

Please sign in to comment.