Sfoglia il codice sorgente

Fixed typo introduced in recent fix

Markus Staab 6 anni fa
parent
commit
0aa030f09d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {