Skip to content

Commit 575fef3

Browse files
authored
Merge pull request #33 from neutmute/debug-tweak
#30 external script path should be absolute
2 parents d940274 + b63a05c commit 575fef3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function postProcess(templateContent, commits) {
124124
debug("Got %d commits", commits.length);
125125
if (commits.length) {
126126
if (argv.s) {
127-
var externalScriptPath = path.join(process.cwd(), argv.s);
127+
var externalScriptPath = argv.s;
128128
try {
129129
var externalScript = require(externalScriptPath);
130130
} catch (ex) {

0 commit comments

Comments
 (0)