1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-21 16:00:11 +00:00

fix: exclude theme.json from interrogation

This commit is contained in:
hacksalot 2018-02-01 17:56:43 -05:00
parent 157a2a6145
commit 54d056c4b7
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
2 changed files with 5 additions and 0 deletions

View File

@ -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';

View File

@ -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'