Skip to content
This repository
Browse code

Merge pull request #148 from nathan-lafreniere/master

Fixes ls-remote with no parameters in linux
  • Loading branch information...
commit 3766bff7345565e83803f9fd522d3de1ce2120fa 2 parents 304924a + a368227
Tim Caswell authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  nvm.sh
2  nvm.sh
@@ -91,6 +91,8 @@ nvm_ls_remote()
91 91 if echo "${PATTERN}" | grep -v '^v' ; then
92 92 PATTERN=v$PATTERN
93 93 fi
  94 + else
  95 + PATTERN=".*"
94 96 fi
95 97 VERSIONS=`curl -s http://nodejs.org/dist/ \
96 98 | egrep -o 'v[0-9]+\.[0-9]+\.[0-9]+' \

0 comments on commit 3766bff

Please sign in to comment.
Something went wrong with that request. Please try again.