From f87eb4654988bd2c557237ced02775d2b20a8308 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Thu, 11 Feb 2016 22:04:11 -0500 Subject: [PATCH] Fix theme generation error. --- dist/core/fresh-theme.js | 4 ++-- src/core/fresh-theme.coffee | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/core/fresh-theme.js b/dist/core/fresh-theme.js index 4a1268e..87aca9b 100644 --- a/dist/core/fresh-theme.js +++ b/dist/core/fresh-theme.js @@ -131,11 +131,11 @@ Definition of the FRESHTheme class. /* Load a single theme file. */ _loadOne = function(absPath, formatsHash, tplFolder) { - var absPathSafe, act, idx, obj, outFmt, pathInfo, portion, ref, ref1, reg, res, shouldTransform; + var absPathSafe, act, idx, obj, outFmt, pathInfo, portion, ref, ref1, reg, res; pathInfo = parsePath(absPath); absPathSafe = absPath.trim().toLowerCase(); outFmt = ''; - shouldTransform = false; + act = 'copy'; if (this.explicit) { outFmt = _.find(Object.keys(this.formats), function(fmtKey) { var fmtVal; diff --git a/src/core/fresh-theme.coffee b/src/core/fresh-theme.coffee index a814da9..e29d436 100644 --- a/src/core/fresh-theme.coffee +++ b/src/core/fresh-theme.coffee @@ -125,7 +125,7 @@ _loadOne = ( absPath, formatsHash, tplFolder ) -> pathInfo = parsePath absPath absPathSafe = absPath.trim().toLowerCase() outFmt = '' - shouldTransform = false + act = 'copy' # If this is an "explicit" theme, all files of importance are specified in # the "transform" section of the theme.json file.