Skip to content
Permalink
Browse files
fix: Use node in and fallback to PATH if not found (#4778)
Co-authored-by: Marco Tizzoni <marco.tizzoni@ecb.europa.eu>
  • Loading branch information
elibus and Marco Tizzoni committed Apr 20, 2022
1 parent 252a02c commit a677f49e29ee9d472c8c9aa1c9eb3d5d8b4ee4a9
Showing 1 changed file with 3 additions and 0 deletions.
@@ -12,6 +12,9 @@ case `uname` in
esac

NODE_EXE="$basedir/node.exe"
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE="$basedir/node"
fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE=node
fi

0 comments on commit a677f49

Please sign in to comment.