Skip to content

Commit

Permalink
[test] avoid leaking temp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ryenus committed Jul 15, 2024
1 parent dffecf8 commit 2977905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fast/Unit tests/nvm_print_versions
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2977905

Please sign in to comment.