Skip to content

Commit

Permalink
Merge pull request #1 from crytic/fix-nvm-install
Browse files Browse the repository at this point in the history
Avoid reading .nvmrc during action setup
  • Loading branch information
elopez committed Mar 17, 2022
2 parents d5fc11e + f7278f5 commit 16fe6d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@ install_node()
fi
bash nvm-install.sh
rm nvm-install.sh

# Avoid picking up `.nvmrc` from the repository
pushd / >/dev/null
. ~/.nvm/nvm.sh
nvm install "$NODEVER"
popd >/dev/null
}

install_slither()
Expand Down

0 comments on commit 16fe6d2

Please sign in to comment.