1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-12-23 13:47:22 +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.
formatsHash[ outFmt ] =
formatsHash[outFmt] || { outFormat: outFmt, files: [], symLinks: that.formats[ outFmt ].symLinks };
formatsHash[ outFmt ] = formatsHash[outFmt] || {
outFormat: outFmt,
files: []
};
// Create the file representation object.
var obj = {
action: 'transform',
path: absPath,
orgPath: PATH.relative(that.folder, absPath),
ext: pathInfo.ext.slice(1),
title: friendlyName( outFmt ),
pre: outFmt,