Skip to content

Commit

Permalink
Try running the JavaScript tests with Bun before Node
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed May 20, 2024
1 parent eac1063 commit 2e662fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist-build/emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ EOM
fi

if test "$NODE" = ""; then
for candidate in /usr/local/bin/node /usr/local/bin/nodejs /usr/bin/node /usr/bin/nodejs node nodejs; do
for candidate in bun nodejs node /usr/local/bin/bun /usr/local/bin/nodejs /usr/local/bin/node; do
case $($candidate --version 2>&1) in #(
v*)
NODE=$candidate
Expand Down

0 comments on commit 2e662fb

Please sign in to comment.