Skip to content

Commit

Permalink
Merge pull request nvm-sh#148 from nathan-lafreniere/master
Browse files Browse the repository at this point in the history
Fixes ls-remote with no parameters in linux
  • Loading branch information
creationix committed Oct 17, 2012
2 parents 304924a + a368227 commit 3766bff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ nvm_ls_remote()
if echo "${PATTERN}" | grep -v '^v' ; then
PATTERN=v$PATTERN
fi
else
PATTERN=".*"
fi
VERSIONS=`curl -s http://nodejs.org/dist/ \
| egrep -o 'v[0-9]+\.[0-9]+\.[0-9]+' \
Expand Down

0 comments on commit 3766bff

Please sign in to comment.