Fix stray tempdir
This commit is contained in:
parent
e6427ef643
commit
14c097530e
@ -57,12 +57,11 @@ customCradle wdir = do
|
||||
cabalFile <- MaybeT $ findCabalFile wdir
|
||||
let cabalDir = takeDirectory cabalFile
|
||||
cradleFile <- MaybeT $ findCradleFile cabalDir
|
||||
tmpDir <- liftIO $ newTempDir cabalDir
|
||||
pkgDbStack <- liftIO $ parseCradle cradleFile
|
||||
return Cradle {
|
||||
cradleCurrentDir = wdir
|
||||
, cradleRootDir = cabalDir
|
||||
, cradleTempDir = tmpDir
|
||||
, cradleTempDir = error "tmpDir"
|
||||
, cradleCabalFile = Just cabalFile
|
||||
, cradlePkgDbStack = pkgDbStack
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user