1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-07-02 16:30:04 +01:00

Fix JSON Resume theme rendering glitch.

This commit is contained in:
hacksalot 2016-01-22 03:05:41 -05:00
parent 43ed564a6e
commit f6f383751f

View File

@ -108,6 +108,7 @@ Definition of the TemplateGenerator class. TODO: Refactor
genInfo.files.forEach(function( file ){ genInfo.files.forEach(function( file ){
// Pre-processing // Pre-processing
file.info.orgPath = file.info.orgPath || ''; // <-- For JRS themes
var thisFilePath = PATH.join( outFolder, file.info.orgPath ); var thisFilePath = PATH.join( outFolder, file.info.orgPath );
if( this.onBeforeSave ) { if( this.onBeforeSave ) {
file.data = this.onBeforeSave({ file.data = this.onBeforeSave({