mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-12-22 13:37:21 +00:00
fix: exclude theme.json from interrogation
This commit is contained in:
parent
157a2a6145
commit
54d056c4b7
3
dist/core/fresh-theme.js
vendored
3
dist/core/fresh-theme.js
vendored
@ -142,6 +142,9 @@ Definition of the FRESHTheme class.
|
||||
_loadOne = function(absPath, formatsHash, tplFolder) {
|
||||
var absPathSafe, act, defFormats, idx, isPrimary, obj, outFmt, pathInfo, portion, ref, ref1, reg, res;
|
||||
pathInfo = parsePath(absPath);
|
||||
if (pathInfo.basename.toLowerCase() === 'theme.json') {
|
||||
return;
|
||||
}
|
||||
absPathSafe = absPath.trim().toLowerCase();
|
||||
outFmt = '';
|
||||
act = 'copy';
|
||||
|
@ -129,6 +129,8 @@ _load = (formatsHash) ->
|
||||
_loadOne = ( absPath, formatsHash, tplFolder ) ->
|
||||
|
||||
pathInfo = parsePath absPath
|
||||
return if pathInfo.basename.toLowerCase() == 'theme.json'
|
||||
|
||||
absPathSafe = absPath.trim().toLowerCase()
|
||||
outFmt = ''
|
||||
act = 'copy'
|
||||
|
Loading…
Reference in New Issue
Block a user