Ensure that nvm ls node doesn't return "node_modules", for example.

This commit is contained in:
Jordan Harband
2014-08-01 01:24:28 -07:00
parent 1d37af162a
commit 6dc602b521
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
. ../../../nvm.sh
nvm ls node
[ "$?" = "3" ]