Skip to content

Commit

Permalink
Merge pull request #109 from AmpersandHQ/hyva-reset-theme-handling
Browse files Browse the repository at this point in the history
Ignore `hyva-themes/magento2-reset-theme` files
  • Loading branch information
convenient authored Oct 6, 2023
2 parents 47eb4b6 + d73767e commit c9af2ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Ampersand/PatchHelper/Checks/LayoutFileXml.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ 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/')) {
return false;
}
return pathinfo($this->patchEntry->getPath(), PATHINFO_EXTENSION) === 'xml';
}

Expand Down

0 comments on commit c9af2ca

Please sign in to comment.