Skip to content

Improve the documentation #178

Improve the documentation

Improve the documentation #178

Triggered via push August 12, 2024 15:28
Status Success
Total duration 14s
Artifacts

linting.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
hlint: app/Main.hs#L145
Suggestion in deploymentOsOption in module Main: Use lambda-case ▫︎ Found: "\\ string\n -> case string of\n \"all\" -> Just AllOS\n os -> Just $ OS (Text.pack os)" ▫︎ Perhaps: "\\case\n \"all\" -> Just AllOS\n os -> Just $ OS (Text.pack os)" ▫︎ Note: may require `{-# LANGUAGE LambdaCase #-}` adding to the top of the file
hlint: app/Main.hs#L152
Suggestion in deploymentArchOption in module Main: Use lambda-case ▫︎ Found: "\\ string\n -> case string of\n \"all\" -> Just AllArchs\n arch -> Just $ Arch (Text.pack arch)" ▫︎ Perhaps: "\\case\n \"all\" -> Just AllArchs\n arch -> Just $ Arch (Text.pack arch)" ▫︎ Note: may require `{-# LANGUAGE LambdaCase #-}` adding to the top of the file