Skip to content

Commit

Permalink
Second attempt to fix last linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
sarg3nt committed May 25, 2024
1 parent a5b67b2 commit 90a9c41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ download_release() {
version="$1"
platform=$(get_platform)

if [ "${platform:-x}" = "win64" ] || [ "${platform:-x}" = "win32" ]; then
if [ "${platform:-x}" = "win64" ] || [ "${platform:-x}" = "win32" ]; then
extension='zip'
else
extension='tar.gz'
fi
else
extension='tar.gz'
fi

echo "Platform: $platform"
echo "Extension: $extension"
Expand Down

0 comments on commit 90a9c41

Please sign in to comment.