Skip to content

Commit a80b6e9

Browse files
committed
use default node
1 parent b59f61b commit a80b6e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/parser/extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default class Extension {
114114
const makeDefaultAction = main => {
115115
return async ({ __argv, cmd }) => {
116116
process.argv = [
117-
process.execPath,
117+
'node',
118118
main
119119
];
120120

test/examples/run-node/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import CLI from '../../../src/index.js';
22

33
new CLI({
44
extensions: {
5-
run: `"${process.execPath}" -e`
5+
run: 'node -e'
66
}
77
}).exec();

0 commit comments

Comments
 (0)