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:
parent
87c03b437c
commit
e8704e1374
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user