Skip to content

Commit

Permalink
Address linter and formatter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jul 4, 2024
1 parent 8329515 commit a15243a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
version: latest
command: ghc --version
- plugin: hls
version: 1.6.1.0
version: latest
command: haskell-language-server-wrapper --version
- plugin: hls
version: latest
version: 1.6.1.0
command: haskell-language-server-wrapper --version
- plugin: stack
version: latest
Expand Down
1 change: 1 addition & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ install_version() {
local version="$2"
local path="$3"

# shellcheck disable=SC2155
local version_prefix=$(echo "$version" | awk -F. '{print $1 "." $2}')

if [[ $tool == "ghc" ]] || { [[ $tool == "hls" ]] && [[ $(echo "$version_prefix >= 1.7" | bc) -eq 1 ]]; }; then
Expand Down

0 comments on commit a15243a

Please sign in to comment.