gscan 4.21.0 → 4.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@ const checkDeprecations = function checkDeprecations(theme, options) {
17
17
 
18
18
  _.each(ruleSet, function (check, ruleCode) {
19
19
  _.each(theme.files, function (themeFile) {
20
- const template = themeFile.file.match(/[^/\\]+.hbs$/);
20
+ const template = themeFile.file.match(/[^/\\]+\.hbs$/);
21
21
  const skipTemplateCheck = check.notValidIn && check.notValidIn.match(template);
22
22
  let css = themeFile.file.match(/\.css/);
23
23
  let cssDeprecations;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gscan",
3
- "version": "4.21.0",
3
+ "version": "4.21.1",
4
4
  "description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
5
5
  "keywords": [
6
6
  "ghost",