Skip to content

Commit

Permalink
remove unnecessary if block from nvm get artifact compression
Browse files Browse the repository at this point in the history
  • Loading branch information
imevanc committed Feb 1, 2024
1 parent 4e2a71b commit f829fe8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit f829fe8

Please sign in to comment.