File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ if (readlineSync.keyInYN('\n\nUpdate CHANGELOG?')) {
67
67
const depsArg = yargs . argv . deps ? `--deps ${ yargs . argv . deps . join ( ' ' ) } ` : '' ;
68
68
const show_changelog = path . resolve ( __dirname , 'show_changelog.js' ) ;
69
69
70
- changelog = _exec ( `${ show_changelog } ${ depsArg } ` , true ) . stdout ;
70
+ changelog = _exec ( `node ${ show_changelog } ${ depsArg } ` , true ) . stdout ;
71
71
72
72
console . log ( 'CHANGELOG:\n\n' ) ;
73
73
console . log ( changelog ) ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if (deps.length) {
52
52
// because conventional-changelog-core doesn't seem to have a callback to tap into
53
53
const fromArg = ( from ? ` --from ${ from } ` : '' ) ;
54
54
const toArg = ( to ? ` --to ${ to } ` : '' ) ;
55
- let stdout = _exec ( `${ scriptPath } ${ fromArg } ${ toArg } ` , true ) . stdout ;
55
+ let stdout = _exec ( `node ${ scriptPath } ${ fromArg } ${ toArg } ` , true ) . stdout ;
56
56
console . log ( stdout . trim ( ) ) ;
57
57
58
58
shelljs . mkdir ( '.show_changelog.tmp' ) ;
You can’t perform that action at this time.
0 commit comments