Fix "ghc-mod root" leaving garbage in tmp
This commit is contained in:
parent
b7cda9e9b9
commit
29d149866e
@ -169,4 +169,5 @@ mapDoc kd ad m = vcat $
|
||||
rootInfo :: forall m. (IOish m, GmOut m, GmEnv m) => m String
|
||||
rootInfo = do
|
||||
crdl <- findCradleNoLog =<< (optPrograms <$> options)
|
||||
liftIO $ cleanupCradle crdl
|
||||
return $ cradleRootDir crdl ++ "\n"
|
||||
|
Loading…
Reference in New Issue
Block a user