From be6b524949649a57ef5b972210e995249196778c Mon Sep 17 00:00:00 2001 From: Jared Lunde Date: Sun, 29 Sep 2024 12:17:41 -0700 Subject: [PATCH] lint --- bin/download | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/download b/bin/download index 55f4f92..c3f0a86 100755 --- a/bin/download +++ b/bin/download @@ -13,8 +13,8 @@ mkdir -p "$ASDF_DOWNLOAD_PATH" ext_name=".tar.gz" case $platform in 'MINGW64'*) - ext_name=".zip" - ;; + ext_name=".zip" + ;; esac release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION$ext_name" @@ -23,9 +23,9 @@ download_release "$ASDF_INSTALL_VERSION" "$release_file" # Extract contents of tar.gz file into the download directory if [[ $ext_name == ".zip" ]]; then - unzip -o "$release_file" -d "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file" + unzip -o "$release_file" -d "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file" else - tar -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file" + tar -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file" fi # Remove the tar.gz file since we don't need to keep it