From f517288375ec759340b5db3df1df30c68a0fe74b Mon Sep 17 00:00:00 2001 From: Luke Rodgers Date: Fri, 30 Oct 2020 13:15:39 +0000 Subject: [PATCH] Fix issue where no custom themes breaks the tool (#41) See https://github.com/AmpersandHQ/ampersand-magento2-upgrade-patch-helper/issues/40 --- src/Ampersand/PatchHelper/Helper/Magento2Instance.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Ampersand/PatchHelper/Helper/Magento2Instance.php b/src/Ampersand/PatchHelper/Helper/Magento2Instance.php index 6c68962a..78266425 100644 --- a/src/Ampersand/PatchHelper/Helper/Magento2Instance.php +++ b/src/Ampersand/PatchHelper/Helper/Magento2Instance.php @@ -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);