Add nvm_iojs_prefix

This commit is contained in:
Jordan Harband
2015-01-12 18:15:04 -08:00
parent 3fa11c35cb
commit 8be97c8abb
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../../nvm.sh
[ "$(nvm_iojs_prefix)" = "iojs" ] || die '"nvm_iojs_prefix" did not return the string "iojs". why did this fail?!'