fixing typo.

This commit is contained in:
Kazu Yamamoto 2014-09-22 11:20:11 +09:00
parent b96a8c6457
commit bc65c477d0
1 changed files with 3 additions and 3 deletions

View File

@ -200,11 +200,11 @@ initializeFlagsWithCradle opt c
| cabal = withCabal
| otherwise = withSandbox
where
mCradleFile = cradleCabalFile c
cabal = isJust mCradleFile
mCabalFile = cradleCabalFile c
cabal = isJust mCabalFile
ghcopts = ghcUserOptions opt
withCabal = do
pkgDesc <- parseCabalFile c $ fromJust mCradleFile
pkgDesc <- parseCabalFile c $ fromJust mCabalFile
compOpts <- getCompilerOptions ghcopts c pkgDesc
initSession CabalPkg opt compOpts
withSandbox = initSession SingleFile opt compOpts