From ad94fcbcef41ab49d09be0231cb18f6badd53177 Mon Sep 17 00:00:00 2001 From: James Devlin Date: Wed, 2 Sep 2015 17:13:14 -0400 Subject: [PATCH] Fix path glitch from recent changes. --- src/scrappy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scrappy.js b/src/scrappy.js index 5720c0d..055a968 100644 --- a/src/scrappy.js +++ b/src/scrappy.js @@ -70,8 +70,7 @@ module.exports = function () { // Load the theme template var fName = f.substring( f.lastIndexOf('.') + 1 ); var fObj = _fmts.filter( function(_f) { return _f.name === fName; } )[0]; - var fOut = path.join( process.cwd(), - f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext ); + var fOut = path.join( f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext ); console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut ); var themeFile = path.join( __dirname, '../../blueprint/', _opts.theme, fName + '.' + (fObj.fmt || fObj.ext));