Browse Source

Filter macOS .DS_Store files when detecting github archives, fixes #6784, closes #6785

Christian Mayer 7 years ago
parent
commit
512188d212
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Composer/Downloader/ArchiveDownloader.php

+ 1 - 0
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);