From d77f18d8e518ed94af58db820d284c4050730080 Mon Sep 17 00:00:00 2001 From: Warrick Bayman Date: Mon, 27 Sep 2021 12:10:38 +0200 Subject: [PATCH] Apply fixes from StyleCI (#77) [ci skip] [skip ci] --- src/Deployer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Deployer.php b/src/Deployer.php index 311cfd8..b24f149 100644 --- a/src/Deployer.php +++ b/src/Deployer.php @@ -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