From 000000a67eb5078f342f67c7cbf2e3e4ff5863a7 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 10 Aug 2015 09:22:27 +0200 Subject: Fix warning --- CabalHelper/Wrapper.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/CabalHelper/Wrapper.hs b/CabalHelper/Wrapper.hs index a4c058b..001a842 100644 --- a/CabalHelper/Wrapper.hs +++ b/CabalHelper/Wrapper.hs @@ -141,6 +141,7 @@ main = handlePanic $ do _ -> do (_,_,_,h) <- createProcess $ proc exe args exitWith =<< waitForProcess h + _ -> error "invalid command line" appDataDir :: IO FilePath appDataDir = ( "cabal-helper") <$> getAppUserDataDirectory "ghc-mod" -- cgit v1.2.3