mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Merge pull request #380 from koenpunt/fix-current-test
Double == causes error on travis (dash shell)
This commit is contained in:
commit
78e7aa6b67
@ -3,4 +3,4 @@
|
||||
die () { echo $@ ; exit 1; }
|
||||
|
||||
. ../../nvm.sh
|
||||
[ "$(nvm current)" == `node -v` ] || die "Failed to find current version"
|
||||
[ "$(nvm current)" = `node -v` ] || die "Failed to find current version"
|
||||
|
Loading…
Reference in New Issue
Block a user