Skip to content

Commit 9fc7b89

Browse files
authored
Merge pull request #22 from magento-mpi/MAGETWO-90860
MAGETWO-90860: magento-deploy-ignore doesn't work in composer.json
2 parents 8b6c32f + 4c184ac commit 9fc7b89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ public function create($source, $dest)
303303
*/
304304
public function remove($source, $dest)
305305
{
306+
if ($this->isDestinationIgnored($dest)){
307+
return;
308+
}
309+
306310
$sourcePath = $this->getSourceDir() . '/' . $this->removeTrailingSlash($source);
307311
$destPath = $this->getDestDir() . '/' . $dest;
308312

0 commit comments

Comments
 (0)