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 +1 -1
- package/package.json +1 -1
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.
|
|
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) {
|