From f829fe8c70f2b380cdcdb71a9e40c70a830fa4f8 Mon Sep 17 00:00:00 2001 From: imevanc Date: Thu, 1 Feb 2024 23:15:49 +0000 Subject: [PATCH] remove unnecessary if block from nvm get artifact compression --- nvm.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/nvm.sh b/nvm.sh index 2e4378f2d2..6401713000 100644 --- a/nvm.sh +++ b/nvm.sh @@ -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}"