Skip to content

Misc

Misc #190

Triggered via pull request October 2, 2024 19:23
@tchoutritchoutri
opened #24
misc
Status Success
Total duration 18s
Artifacts

linting.yml

on: pull_request
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