Skip to content

Commit 93987d2

Browse files
committed
fix Issue #121
1 parent 0d956f7 commit 93987d2

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
@@ -392,7 +392,7 @@ public function rmEmptyDirsRecursive($dir, $stopDir = null)
392392

393393
foreach ($iterator as $item) {
394394
$path = (string)$item;
395-
if (!strcmp($path, '.') || !strcmp($path, '..')) {
395+
if (!strcmp($item->getFilename(), '.') || !strcmp($item->getFilename(), '..')) {
396396
continue;
397397
}
398398
// The directory contains something, do not remove

0 commit comments

Comments
 (0)