remove unnecessary if block from nvm get artifact compression

This commit is contained in:
imevanc 2024-02-01 23:15:49 +00:00
parent 4e2a71ba9b
commit f829fe8c70

2
nvm.sh
View File

@ -2239,8 +2239,6 @@ nvm_get_artifact_compression() {
COMPRESSION='tar.gz'
if [ "_${NVM_OS}" = '_win' ]; then
COMPRESSION='zip'
elif nvm_supports_xz "${VERSION}"; then
COMPRESSION='tar.xz'
fi
nvm_echo "${COMPRESSION}"