diff options
author | Marco Tizzoni <marco.tizzoni@gmail.com> | 2022-04-21 00:07:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 00:07:02 +0300 |
commit | a677f49e29ee9d472c8c9aa1c9eb3d5d8b4ee4a9 (patch) | |
tree | b7ba03b0488f525ef5fe6ceb640a95315c84ac9f /bin | |
parent | 252a02cc2dd3a9a4237296e36e8455351a61b418 (diff) |
fix: Use node in and fallback to PATH if not found (#4778)
Co-authored-by: Marco Tizzoni <marco.tizzoni@ecb.europa.eu>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/npx | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,9 @@ 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 |