Browse Source

Merge pull request #7982 from staabm/patch-1

Fixed typo introduced in recent fix
Jordi Boggiano 6 years ago
parent
commit
723308a1e7
1 changed files with 1 additions and 1 deletions
  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) {