nvm/test/fast/Running "nvm current" shoul...

6 lines
142 B
Bash
Executable File

#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../nvm.sh
[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version"