Skip to content

Commit 8b3d9b9

Browse files
authored
Use native node -p to get exec path (#7420)
1 parent cdac5bf commit 8b3d9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build/build-standalone-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ main() {
1616
# Package managers may shim their own "node" wrapper into the PATH, so run
1717
# node and ask it for its true path.
1818
local node_path
19-
node_path="$(node <<< 'console.info(process.execPath)')"
19+
node_path="$(node -p process.execPath)"
2020

2121
mkdir -p "$RELEASE_PATH/bin"
2222
mkdir -p "$RELEASE_PATH/lib"

0 commit comments

Comments
 (0)