Skip to content

Commit

Permalink
Merge pull request #8 from sestrella/fix_shellcheck_warnings
Browse files Browse the repository at this point in the history
fix: Address shellcheck warnings
  • Loading branch information
sestrella authored Jun 17, 2023
2 parents 58600bf + 07c5d0f commit 747123d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ main() {
local version="${ASDF_INSTALL_VERSION}"
local path="${ASDF_INSTALL_PATH}"
check_ghcup
if [[ "${1}" == "ghc" ]] || ([[ "${1}" == "hls" ]] && [[ $(ver "$version") -ge $(ver "1.7") ]])
if [[ "${1}" == "ghc" ]] || { [[ "${1}" == "hls" ]] && [[ $(ver "$version") -ge $(ver "1.7") ]]; }
then
ghcup install "${1}" "${version}" -i "${path}"
else
Expand Down

0 comments on commit 747123d

Please sign in to comment.