File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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?')) {
6767 const depsArg = yargs . argv . deps ? `--deps ${ yargs . argv . deps . join ( ' ' ) } ` : '' ;
6868 const show_changelog = path . resolve ( __dirname , 'show_changelog.js' ) ;
6969
70- changelog = _exec ( `${ show_changelog } ${ depsArg } ` , true ) . stdout ;
70+ changelog = _exec ( `node ${ show_changelog } ${ depsArg } ` , true ) . stdout ;
7171
7272 console . log ( 'CHANGELOG:\n\n' ) ;
7373 console . log ( changelog ) ;
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if (deps.length) {
5252 // because conventional-changelog-core doesn't seem to have a callback to tap into
5353 const fromArg = ( from ? ` --from ${ from } ` : '' ) ;
5454 const toArg = ( to ? ` --to ${ to } ` : '' ) ;
55- let stdout = _exec ( `${ scriptPath } ${ fromArg } ${ toArg } ` , true ) . stdout ;
55+ let stdout = _exec ( `node ${ scriptPath } ${ fromArg } ${ toArg } ` , true ) . stdout ;
5656 console . log ( stdout . trim ( ) ) ;
5757
5858 shelljs . mkdir ( '.show_changelog.tmp' ) ;
You can’t perform that action at this time.
0 commit comments