mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
remove function ref duplication
This commit is contained in:
parent
f2b7583b6b
commit
858eda58c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user