소스 검색

Warn identical names w/ different capitalization for unzip

Warn about identical names with different capitalization on unzip archive
extract failure (Not a directory)

Issue #5938
AjiYakin 8 년 전
부모
커밋
03c560ce05
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Composer/Downloader/ZipDownloader.php

+ 1 - 0
src/Composer/Downloader/ZipDownloader.php

@@ -113,6 +113,7 @@ class ZipDownloader extends ArchiveDownloader
         }
 
         $this->io->writeError('    '.$processError->getMessage());
+        $this->io->writeError('    The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)');
         $this->io->writeError('    Unzip with unzip command failed, falling back to ZipArchive class');
 
         return $this->extractWithZipArchive($file, $path, true);