Skip to content

Commit b794a57

Browse files
committed
Remove Debug.Trace
1 parent 48c33ba commit b794a57

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

hie.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ cradle:
22
cabal:
33
- path: "src"
44
component: "lib:implicit-hie"
5-
5+
66
- path: "app/Main.hs"
77
component: "implicit-hie:exe:gen-hie"
8-
8+
99
- path: "test"
1010
component: "implicit-hie:test:implicit-hie-test"
11-

src/Hie/Locate.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import Hie.Yaml
2626
import System.Directory
2727
import System.FilePath.Posix
2828
import System.FilePattern.Directory (getDirectoryFiles)
29-
import Debug.Trace
3029

3130
newtype Pkgs = Pkgs [FilePath]
3231
deriving (Eq, Ord)
@@ -50,7 +49,7 @@ cabalPkgs p = do
5049
[] -> fail "no cabal files found"
5150
h : _ -> pure [p </> h]
5251
xs -> do
53-
cd <- liftIO $ map (p </>) <$> getDirectoryFiles p (map (matchDirs . traceShowId . T.unpack) xs)
52+
cd <- liftIO $ map (p </>) <$> getDirectoryFiles p (map (matchDirs . T.unpack) xs)
5453
cf <-
5554
liftIO $
5655
mapM (\p -> if takeExtension p == ".cabal" then pure [p] else cfs p) cd

0 commit comments

Comments
 (0)