Skip to content

Commit

Permalink
Update LayoutFileXml.php
Browse files Browse the repository at this point in the history
  • Loading branch information
convenient authored Sep 29, 2023
1 parent ee8b8ee commit 7c92f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ampersand/PatchHelper/Checks/LayoutFileXml.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 7c92f78

Please sign in to comment.