From 512188d21261d2e2e11f0a0b24861f2353d2be11 Mon Sep 17 00:00:00 2001 From: Christian Mayer Date: Mon, 18 Dec 2017 11:11:35 +0100 Subject: [PATCH] Filter macOS .DS_Store files when detecting github archives, fixes #6784, closes #6785 --- src/Composer/Downloader/ArchiveDownloader.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Composer/Downloader/ArchiveDownloader.php b/src/Composer/Downloader/ArchiveDownloader.php index cc6b34c2f..1b93724ba 100644 --- a/src/Composer/Downloader/ArchiveDownloader.php +++ b/src/Composer/Downloader/ArchiveDownloader.php @@ -148,6 +148,7 @@ abstract class ArchiveDownloader extends FileDownloader $finder = Finder::create() ->ignoreVCS(false) ->ignoreDotFiles(false) + ->notName('.DS_Store') ->depth(0) ->in($dir);