Making sure to quote this output, so that paths with spaces don't break the method.

Although tests were passing in Travis for #470, they were failing locally - now they pass in both.
master
Jordan Harband 2014-07-15 02:00:48 -07:00
parent 00ca5288b0
commit 26ed7a003a
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -29,7 +29,7 @@ nvm_download() {
} }
nvm_has_system_node() { nvm_has_system_node() {
[ $(nvm deactivate 2> /dev/null && command -v node) != '' ] [ "$(nvm deactivate 2> /dev/null && command -v node)" != '' ]
} }
# Make zsh glob matching behave same as bash # Make zsh glob matching behave same as bash