mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-06 04:30:14 +00:00
Changed test according to comments
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user