gscan 4.9.2 → 4.9.3

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.
package/lib/read-theme.js CHANGED
@@ -103,7 +103,7 @@ const readFiles = function readFiles(theme, options = {}) {
103
103
  theme.customSettings = {};
104
104
  }
105
105
 
106
- const packageJsonMatch = themeFile.file.match(/^package\.json/);
106
+ const packageJsonMatch = themeFile.file === 'package.json';
107
107
  if (packageJsonMatch) {
108
108
  const packageJson = JSON.parse(themeFile.content);
109
109
  if (packageJson.config && packageJson.config.custom) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gscan",
3
- "version": "4.9.2",
3
+ "version": "4.9.3",
4
4
  "description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
5
5
  "keywords": [
6
6
  "ghost",