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

7 lines
143 B
Bash
Executable File

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