Skip to content

Commit 03b15ae

Browse files
committed
fix: use the execPath when building the native addon
1 parent ebd6ae8 commit 03b15ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ try {
1010
const cmakeTsPath = require.resolve("cmake-ts/build/main.js")
1111

1212
cp.execFileSync(
13-
"node", [cmakeTsPath, "nativeonly"],
13+
process.execPath, [cmakeTsPath, "nativeonly"],
1414
{ stdio: "inherit" },
1515
)
1616
}

0 commit comments

Comments
 (0)