Skip to content

Commit

Permalink
Attempt to fix last linting error again
Browse files Browse the repository at this point in the history
  • Loading branch information
sarg3nt committed May 25, 2024
1 parent 12b00c6 commit a5b67b2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ download_release() {
local version url platform extension
version="$1"
platform=$(get_platform)
if [ "${platform:-x}" = "win64" ] || [ "${platform:-x}" = "win32" ]; then
extension='zip'
else
extension='tar.gz'
fi

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

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

0 comments on commit a5b67b2

Please sign in to comment.