Skip to content

Commit 3faf71c

Browse files
committed
Merge pull request #118 from Rud5G/fix-undefined-method-getoption
Fix verbose option check merged as cause for failing travis could get identified as independent from patch
2 parents b8ccfdf + d39f2b6 commit 3faf71c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MagentoHackathon/Composer/Magento/Installer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ protected function redeployProject() {
558558

559559
if ($ioInterface->isVerbose()) {
560560
$ioInterface->write($package->getName());
561-
$ioInterface->write($package->getType());
561+
$ioInterface->write($package->getType());
562562
}
563563

564564
if ($package->getType() != "magento-module") {
@@ -569,8 +569,8 @@ protected function redeployProject() {
569569
}
570570

571571
$strategy = $moduleInstaller->getDeployStrategy($package);
572-
if ($ioInterface->getOption('verbose')) {
573-
$ioInterface->write("used " . get_class($strategy) . " as deploy strategy");
572+
if ($ioInterface->isVerbose()) {
573+
$ioInterface->write("used " . get_class($strategy) . " as deploy strategy");
574574
}
575575
$strategy->setMappings($moduleInstaller->getParser($package)->getMappings());
576576

0 commit comments

Comments
 (0)