diff --git a/nvm.sh b/nvm.sh index 18979f1..e60c341 100755 --- a/nvm.sh +++ b/nvm.sh @@ -93,7 +93,7 @@ nvm_ls() { echo "N/A" return fi - printf "$VERSIONS\n" + echo "$VERSIONS" return } diff --git "a/test/fast/Running \"nvm current\" should display current nvm environment." "b/test/fast/Running \"nvm current\" should display current nvm environment." index 40d528f..a2c93a5 100755 --- "a/test/fast/Running \"nvm current\" should display current nvm environment." +++ "b/test/fast/Running \"nvm current\" should display current nvm environment." @@ -3,4 +3,4 @@ die () { echo $@ ; exit 1; } . ../../nvm.sh -[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version" \ No newline at end of file +[ `expr "$(nvm current)" : ".*current"` != 0 ] || die "Failed to find current version"