diff --git a/src/Ampersand/PatchHelper/Checks/LayoutFileXml.php b/src/Ampersand/PatchHelper/Checks/LayoutFileXml.php index dd853a80..ffa96b22 100644 --- a/src/Ampersand/PatchHelper/Checks/LayoutFileXml.php +++ b/src/Ampersand/PatchHelper/Checks/LayoutFileXml.php @@ -17,7 +17,7 @@ public function canCheck() if (str_contains($this->patchEntry->getPath(), '/ui_component/')) { return false; } - if (str_contains($this->patchEntry->getPath(), '/vendor/hyva-themes/magento2-reset-theme/')) { + if (str_contains($this->patchEntry->getPath(), 'vendor/hyva-themes/magento2-reset-theme/')) { return false; } return pathinfo($this->patchEntry->getPath(), PATHINFO_EXTENSION) === 'xml';