Skip to content

Commit

Permalink
Merge pull request #220 from whywaita/fix/support-new-nodejs-runtime
Browse files Browse the repository at this point in the history
Support node20
  • Loading branch information
whywaita authored Nov 18, 2024
2 parents cf58b4c + ce90758 commit ff8ea4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/starter/scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ fi
# insert anything to setup env when running as a service
# run the host process which keep the listener alive
NODE_PATH="./externals/node16/bin/node"
NODE_PATH="./externals/node20/bin/node"
if [ ! -e "\${NODE_PATH}" ]; then
NODE_PATH="./externals/node12/bin/node"
NODE_PATH="./externals/node16/bin/node"
fi
\${NODE_PATH} ./bin/RunnerService.js \$* &
PID=\$!
Expand Down

0 comments on commit ff8ea4c

Please sign in to comment.