diff --git a/index.js b/index.js index 34b139b..00e4be1 100755 --- a/index.js +++ b/index.js @@ -124,7 +124,7 @@ function postProcess(templateContent, commits) { debug("Got %d commits", commits.length); if (commits.length) { if (argv.s) { - var externalScriptPath = path.join(process.cwd(), argv.s); + var externalScriptPath = argv.s; try { var externalScript = require(externalScriptPath); } catch (ex) {