Skip to content

Commit 18b01b4

Browse files
committed
add deploy ignores to Core Installer deploy method
1 parent ed12fcd commit 18b01b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/MagentoHackathon/Composer/Magento/Installer/CoreInstaller.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ public function update(InstalledRepositoryInterface $repo, PackageInterface $ini
148148
*/
149149
public function getDeployStrategy(PackageInterface $package, $strategy = null)
150150
{
151-
return new Core($this->getSourceDir($package), $this->getTargetDir());
151+
$deployStrategy = new Core($this->getSourceDir($package), $this->getTargetDir());
152+
$deployStrategy->setIgnoredMappings($this->getModuleSpecificDeployIgnores($package));
153+
return $deployStrategy;
152154
}
153155
}

0 commit comments

Comments
 (0)