mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
Fix path glitch from recent changes.
This commit is contained in:
parent
818a071433
commit
ad94fcbcef
@ -70,8 +70,7 @@ module.exports = function () {
|
|||||||
// Load the theme template
|
// Load the theme template
|
||||||
var fName = f.substring( f.lastIndexOf('.') + 1 );
|
var fName = f.substring( f.lastIndexOf('.') + 1 );
|
||||||
var fObj = _fmts.filter( function(_f) { return _f.name === fName; } )[0];
|
var fObj = _fmts.filter( function(_f) { return _f.name === fName; } )[0];
|
||||||
var fOut = path.join( process.cwd(),
|
var fOut = path.join( f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
|
||||||
f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
|
|
||||||
console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut );
|
console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut );
|
||||||
var themeFile = path.join( __dirname, '../../blueprint/', _opts.theme,
|
var themeFile = path.join( __dirname, '../../blueprint/', _opts.theme,
|
||||||
fName + '.' + (fObj.fmt || fObj.ext));
|
fName + '.' + (fObj.fmt || fObj.ext));
|
||||||
|
Loading…
Reference in New Issue
Block a user