Skip to content

Commit

Permalink
fix nvm install path
Browse files Browse the repository at this point in the history
  • Loading branch information
beuluis committed Feb 21, 2022
1 parent b0e9d60 commit 179e96b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wnv
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ while test $# -gt 0; do
esac
done

if [ ! -d "$HOME/.nvm" ]; then
echo "nvm not found please install it"
if [ ! -f /usr/local/opt/nvm/nvm.sh ]; then
echo "nvm not found please install it. brew install nvm"
exit 1
fi

# source nvm
source "$HOME/.nvm/nvm.sh"
source /usr/local/opt/nvm/nvm.sh

padding=10000
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
Expand Down

0 comments on commit 179e96b

Please sign in to comment.