From 5b105f51f4fd8aebdc70ed8a1ab31d03862d8854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Moonlight?= Date: Thu, 7 Mar 2024 14:29:01 +0100 Subject: [PATCH] lint --- app/Main.hs | 12 ++++++------ get-tested.cabal | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Main.hs b/app/Main.hs index b49bacf..622e219 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -3,19 +3,19 @@ module Main where import Data.Aeson qualified as Aeson import Data.ByteString.Lazy (ByteString) import Data.ByteString.Lazy.Char8 qualified as ByteString +import Data.Text (Text) +import Data.Text.Display (display) +import Data.Vector (Vector) import Data.Vector qualified as Vector import Effectful import Effectful.Error.Static import Options.Applicative import System.Exit -import Data.Text (Text) -import Data.Text.Display (display) -import Data.Vector (Vector) -import Extract -import Types import Data.Version (showVersion) +import Extract import Paths_get_tested (version) +import Types data Options = Options { path :: FilePath @@ -51,7 +51,7 @@ parseOptions = <*> optional (strOption (long "ubuntu-version" <> metavar "VERSION" <> help "Enable the Ubuntu runner with the selected version")) <*> switch (long "windows" <> help "(legacy) Enable the Windows runner's latest version") <*> optional (strOption (long "windows-version" <> metavar "VERSION" <> help "Enable the Windows runner with the selected version")) - <**> simpleVersioner (showVersion version) + <**> simpleVersioner (showVersion version) runOptions :: Options -> Eff [Error ProcessingError, IOE] ByteString runOptions options = do diff --git a/get-tested.cabal b/get-tested.cabal index 00f763d..5932357 100644 --- a/get-tested.cabal +++ b/get-tested.cabal @@ -48,8 +48,8 @@ executable get-tested other-modules: Extract - Types Paths_get_tested + Types build-depends: , aeson ^>=2.1