Skip to content

Commit 3d58204

Browse files
committed
Revert "Fix "Could not delete" Exception on removeDirectory"
This reverts commit b8ccfdf. It is not necessary any longer. It was a fix for a problem reported in #122. Which has fixed upstream in composer as it was a problem there. - #122 - composer/composer#3158 - composer/composer#3159
1 parent b7175e5 commit 3d58204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MagentoHackathon/Composer/Magento/Deploystrategy/DeploystrategyAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public static function rmdirRecursive($dir)
428428
{
429429
$fs = new \Composer\Util\Filesystem();
430430
if(is_dir($dir)){
431-
$result = $fs->removeDirectory(rtrim($dir,'/'));
431+
$result = $fs->removeDirectory($dir);
432432
}else{
433433
@unlink($dir);
434434
}

0 commit comments

Comments
 (0)