From 858eda58c4db2f07810ef5ceaf9b1f06b6c680b9 Mon Sep 17 00:00:00 2001 From: ryenus Date: Sun, 14 Jul 2024 11:45:52 +0800 Subject: [PATCH] remove function ref duplication --- test/fast/Unit tests/nvm_print_versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fast/Unit tests/nvm_print_versions b/test/fast/Unit tests/nvm_print_versions index c042068..b9d22b8 100755 --- a/test/fast/Unit tests/nvm_print_versions +++ b/test/fast/Unit tests/nvm_print_versions @@ -5,7 +5,7 @@ die () { echo "$@" ; cleanup ; exit 1; } cleanup() { - unset -f nvm_remote_versions nvm_ls nvm_ls_current nvm_remote_versions + unset -f nvm_remote_versions nvm_ls nvm_ls_current if [ -n "$TEMP_NVM_MIN" ]; then export NVM_MIN="$TEMP_NVM_MIN" fi