Changed test according to comments

master
Timo Sand 2013-12-17 08:28:31 +02:00
parent f9d5a85f05
commit 4ca71d81cf
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../nvm.sh
nvm current | grep current
[[ $(nvm current) == *"current"* ]] || die "Failed to find current version"