소스 검색

Merge pull request #7982 from staabm/patch-1

Fixed typo introduced in recent fix
Jordi Boggiano 6 년 전
부모
커밋
723308a1e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Util/Filesystem.php

+ 1 - 1
src/Composer/Util/Filesystem.php

@@ -235,7 +235,7 @@ class Filesystem
             // retry after a bit on windows since it tends to be touchy with mass removals
             if (Platform::isWindows()) {
                 usleep(350000);
-                $deleted = !@rmdir($path);
+                $deleted = @rmdir($path);
             }
             
             if (!$deleted) {