Skip to content

Commit

Permalink
Fix issue where no custom themes breaks the tool (#41)
Browse files Browse the repository at this point in the history
See #40
  • Loading branch information
convenient authored Oct 30, 2020
1 parent 980e800 commit f517288
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Ampersand/PatchHelper/Helper/Magento2Instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ public function __construct($path)
break;
}
}
if (empty($this->customFrontendThemes) && empty($this->customAdminThemes)) {
throw new \Exception('Unable to find custom theme(s)');
}

// Config per area
$configLoader = $objectManager->get(\Magento\Framework\ObjectManager\ConfigLoaderInterface::class);
Expand Down

0 comments on commit f517288

Please sign in to comment.