mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-17 09:31:51 +00:00
[test] avoid leaking temp variable
This commit is contained in:
parent
b4ba55b30c
commit
8ef76acdee
@ -8,6 +8,7 @@ cleanup() {
|
||||
unset -f nvm_remote_versions nvm_ls nvm_ls_current
|
||||
if [ -n "$TEMP_NVM_MIN" ]; then
|
||||
export NVM_MIN="$TEMP_NVM_MIN"
|
||||
unset TEMP_NVM_MIN
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user