Add wrapping curly braces to ensure that the entire scripts are downloaded.

If the closing curly brace isn't present, the script will error out.
This commit is contained in:
Jordan Harband committed 2015-05-11 01:46:18 -07:00
1 parent 94bba31de3
commit 63672641a5
2 files changed
+8

No files matched your search

+4
View File
@@ -2,6 +2,8 @@
set -e
{ # this ensures the entire script is downloaded #
nvm_has() {
type "$1" > /dev/null 2>&1
}
@@ -241,3 +243,5 @@ nvm_reset() {
}
[ "_$NVM_ENV" = "_testing" ] || nvm_do_install
} # this ensures the entire script is downloaded #