Skip to content

Commit

Permalink
Adding node auto-install command.
Browse files Browse the repository at this point in the history
  • Loading branch information
message-dimke committed Sep 23, 2024
1 parent 3e17ce5 commit 56837ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

source ~/.nvm/nvm.sh
nvm use
nvm use || nvm install $(cat .nvmrc)

case $1 in
pnpm)
Expand Down
2 changes: 1 addition & 1 deletion bin/nvm
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ if $do_check; then
fi

if $do_use; then
nvm use
nvm use || nvm install $(cat .nvmrc)
fi

0 comments on commit 56837ac

Please sign in to comment.