Skip to content

Commit

Permalink
remove function ref duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
ryenus committed Jul 14, 2024
1 parent b106798 commit ce329fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fast/Unit tests/nvm_print_versions
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce329fb

Please sign in to comment.