From 0dd47395ace87061b5633bcd448c627f16c6b60b Mon Sep 17 00:00:00 2001 From: thisispiers <1831251+thisispiers@users.noreply.github.com> Date: Thu, 21 Mar 2024 00:58:32 +0000 Subject: [PATCH] Remove unnecessary log --- src/Deployment/Deployer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Deployment/Deployer.php b/src/Deployment/Deployer.php index 0a354a6..f0cb724 100644 --- a/src/Deployment/Deployer.php +++ b/src/Deployment/Deployer.php @@ -348,7 +348,9 @@ public function collectPaths(string $subdir = ''): array continue; } elseif (Helpers::matchMask($short, $this->ignoreMasks, is_dir($path))) { - $this->logger->log(str_pad("Ignoring .$short", 40), 'gray'); + if (!str_ends_with($short, '.DS_Store')) { + $this->logger->log(str_pad("Ignoring .$short", 40), 'gray'); + } continue; } elseif ($this->includeMasks && !Helpers::matchMask($short, $this->includeMasks, is_dir($path))) {