This repository was archived by the owner on Oct 7, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-53
lines changed Expand file tree Collapse file tree 3 files changed +4
-53
lines changed Original file line number Diff line number Diff line change @@ -63,21 +63,6 @@ Executable biosc
6363 , ghc
6464 , hie-bios
6565
66-
67- test-suite unit-test
68- type : exitcode-stdio-1.0
69- hs-source-dirs : test/
70- main-is : Main.hs
71- other-modules :
72- build-depends : base
73- , hie-bios
74- , hspec
75- , filepath
76- , directory
77-
78- ghc-options : -Wall -Wredundant-constraints
79- default-language : Haskell2010
80-
8166Source-Repository head
8267 Type : git
8368 Location : git://github.com/mpickering/hie-bios.git
Original file line number Diff line number Diff line change @@ -122,12 +122,10 @@ cabalAction work_dir mc _fp = do
122122 ++ [component_name | Just component_name <- [mc]]
123123 (ex, args, stde) <-
124124 withCurrentDirectory work_dir (readProcessWithExitCode " cabal" cab_args [] )
125- case lines args of
126- [dir, ghc_args] -> do
127- let final_args = map (fixImportDirs dir) (words ghc_args)
128- traceM dir
129- return (ex, stde, final_args)
130- _ -> error (show (ex, args, stde))
125+ let [dir, ghc_args] = lines args
126+ final_args = map (fixImportDirs dir) (words ghc_args)
127+ traceM dir
128+ return (ex, stde, final_args)
131129
132130fixImportDirs :: FilePath -> String -> String
133131fixImportDirs base_dir arg =
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments