From 7c1d4b12977fc3ba86943ef331985ff66565e69d Mon Sep 17 00:00:00 2001 From: LoveIsGrief Date: Sun, 16 Nov 2014 17:04:40 +0100 Subject: [PATCH] Make test 'Running "nvm use foo" where "foo" is circular aborts' work again Slight problem with the output. The test expected an alias to be returned, but an empty string was returned. --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 02a812a..9809e8d 100644 --- a/nvm.sh +++ b/nvm.sh @@ -837,7 +837,7 @@ nvm() { return 127 fi elif [ "_$VERSION" = "_∞" ]; then - echo "The alias \"$1\" leads to an infinite loop. Aborting." >&2 + echo "The alias \"$key\" leads to an infinite loop. Aborting." >&2 return 8 fi