1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 08:20:11 +00:00

Fix file generation glitch.

This commit is contained in:
devlinjd 2015-12-08 22:22:14 -05:00
parent 87c03b437c
commit e8704e1374

View File

@ -110,12 +110,16 @@ Abstract theme representation.
} }
// We should have a valid output format now. // We should have a valid output format now.
formatsHash[ outFmt ] = formatsHash[ outFmt ] = formatsHash[outFmt] || {
formatsHash[outFmt] || { outFormat: outFmt, files: [], symLinks: that.formats[ outFmt ].symLinks }; outFormat: outFmt,
files: []
};
// Create the file representation object. // Create the file representation object.
var obj = { var obj = {
action: 'transform',
path: absPath, path: absPath,
orgPath: PATH.relative(that.folder, absPath),
ext: pathInfo.ext.slice(1), ext: pathInfo.ext.slice(1),
title: friendlyName( outFmt ), title: friendlyName( outFmt ),
pre: outFmt, pre: outFmt,