aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-08-10 09:22:27 +0200
committerDaniel Gröber <dxld@darkboxed.org>2015-08-10 09:28:44 +0200
commit000000a67eb5078f342f67c7cbf2e3e4ff5863a7 (patch)
treef0ff47b75b52b6382dbbaa5d81ffee1e418b4f40
parenta3c3997626264ebce9efb6508816ee918f7b9917 (diff)
Fix warning
-rw-r--r--CabalHelper/Wrapper.hs1
1 files changed, 1 insertions, 0 deletions
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"