Skip to content

Commit

Permalink
Merge pull request #33 from neutmute/debug-tweak
Browse files Browse the repository at this point in the history
#30 external script path should be absolute
  • Loading branch information
piuccio authored Jun 23, 2017
2 parents d940274 + b63a05c commit 575fef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 575fef3

Please sign in to comment.