Skip to content

Commit

Permalink
fix: fixes unbounded variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanrayboss committed Oct 21, 2023
1 parent ce9b4a5 commit 37ba706
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ get_file_extension() {
local extension
platform="$1"
case $platform in
darwin) platform="tar.gz" ;;
linux) platform="tar.gz" ;;
windows) platform="zip" ;;
darwin) extension="tar.gz" ;;
linux) extension="tar.gz" ;;
windows) extension="zip" ;;
esac
echo "$extension"
}
Expand Down

0 comments on commit 37ba706

Please sign in to comment.