Skip to content

Commit

Permalink
Include partials/**/*.hbs in GS100-NO-UNUSED-CUSTOM-THEME-SETTING test
Browse files Browse the repository at this point in the history
  • Loading branch information
unitof committed Mar 2, 2024
1 parent 7f9ab26 commit f4adabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checks/100-custom-template-settings-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const ruleImplementations = {
result.customThemeSettings = new Set();
},
eachFile: ({file, theme, log, result}) => {
let templateTest = file.file.match(/(?<!partials\/.+?)\.hbs$/);
let templateTest = file.file.match(/\.hbs$/);

if (templateTest) {
parseWithAST({file, theme, rules: {
Expand Down

0 comments on commit f4adabf

Please sign in to comment.