Skip to content

Commit 8f45a75

Browse files
author
Vladislav Sabanov
committed
Apply fourmolu
1 parent df57849 commit 8f45a75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cabal-install/src/Distribution/Client/CmdClean.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{-# LANGUAGE DataKinds #-}
2+
{-# LANGUAGE LambdaCase #-}
23
{-# LANGUAGE PatternSynonyms #-}
34
{-# LANGUAGE RecordWildCards #-}
4-
{-# LANGUAGE LambdaCase #-}
55

66
module Distribution.Client.CmdClean (cleanCommand, cleanAction) where
77

@@ -13,8 +13,8 @@ import Distribution.Client.Config
1313
)
1414
import Distribution.Client.DistDirLayout
1515
( DistDirLayout (..)
16-
, defaultDistDirLayout
1716
, ProjectRoot (ProjectRootImplicit)
17+
, defaultDistDirLayout
1818
, defaultProjectFile
1919
)
2020
import Distribution.Client.Errors
@@ -221,7 +221,7 @@ cleanAction (ProjectFlags{..}, CleanFlags{..}) extraArgs _ = do
221221
removeDirectoryRecursive cache
222222

223223
isValidProjectRoot :: ProjectRoot -> IO Bool
224-
isValidProjectRoot = \case
224+
isValidProjectRoot = \case
225225
(ProjectRootImplicit dir) -> do
226226
let projectFile = dir </> defaultProjectFile
227227
projectExists <- doesFileExist projectFile

cabal-install/src/Distribution/Client/Errors.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ exceptionMessageCabalInstall e = case e of
887887
renderCabalFileParseError cbfError
888888
ProjectConfigParseFailure pcfError ->
889889
renderProjectConfigParseError pcfError
890-
CleanActionNotPackage ->
890+
CleanActionNotPackage ->
891891
"Not a cabal project or package directory; skipping project cleanup."
892892

893893
instance Exception (VerboseException CabalInstallException) where

0 commit comments

Comments
 (0)