diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index 7c342573b..1903f1c8d 100644 --- a/src/Composer/Util/Filesystem.php +++ b/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) {