cosmetic changes.
This commit is contained in:
parent
8ae0a55aff
commit
0c84d9464a
12
Cradle.hs
12
Cradle.hs
@ -16,15 +16,15 @@ findCradle (Just sbox) strver = do
|
|||||||
cfiles <- cabalDir wdir
|
cfiles <- cabalDir wdir
|
||||||
return $ case cfiles of
|
return $ case cfiles of
|
||||||
Nothing -> Cradle {
|
Nothing -> Cradle {
|
||||||
cradleCurrentDir = wdir
|
cradleCurrentDir = wdir
|
||||||
, cradleCabalDir = Nothing
|
, cradleCabalDir = Nothing
|
||||||
, cradleCabalFile = Nothing
|
, cradleCabalFile = Nothing
|
||||||
, cradlePackageConf = Just pkgConf
|
, cradlePackageConf = Just pkgConf
|
||||||
}
|
}
|
||||||
Just (cdir,cfile) -> Cradle {
|
Just (cdir,cfile) -> Cradle {
|
||||||
cradleCurrentDir = wdir
|
cradleCurrentDir = wdir
|
||||||
, cradleCabalDir = Just cdir
|
, cradleCabalDir = Just cdir
|
||||||
, cradleCabalFile = Just cfile
|
, cradleCabalFile = Just cfile
|
||||||
, cradlePackageConf = Just pkgConf
|
, cradlePackageConf = Just pkgConf
|
||||||
}
|
}
|
||||||
findCradle Nothing strver = do
|
findCradle Nothing strver = do
|
||||||
|
Loading…
Reference in New Issue
Block a user