From aead07929e6ed13375b86539b1679a88993c9cf5 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 26 Dec 2019 08:03:31 +0100 Subject: compiler: extract config and remove utils --- compiler/src/Input.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/src/Input.hs') diff --git a/compiler/src/Input.hs b/compiler/src/Input.hs index fa36d59..681f169 100644 --- a/compiler/src/Input.hs +++ b/compiler/src/Input.hs @@ -37,7 +37,6 @@ import Data.Aeson (FromJSON) import System.FilePath (isExtensionOf, dropExtension) import Files -import Utils data LoadException = LoadException String ParseException deriving Show @@ -70,7 +69,7 @@ data Sidecar = Sidecar readInputTree :: AnchoredFSNode -> IO InputTree readInputTree (AnchoredFSNode anchor root@Dir{}) = - filterDir (neg isHidden) root & mkDirNode + filterDir (not . isHidden) root & mkDirNode where mkInputNode :: FSNode -> IO (Maybe InputTree) mkInputNode (File path@(filename:pathto)) | ".yaml" `isExtensionOf` filename = -- cgit v1.2.3