hlint hack.
This commit is contained in:
parent
246ea5e2c9
commit
89c733aef8
@ -91,7 +91,7 @@ initializeFlagsWithCradle opt cradle ghcopts logging
|
|||||||
where
|
where
|
||||||
pkgDb = userPackageDbOptsForGhc $ cradlePackageDb cradle
|
pkgDb = userPackageDbOptsForGhc $ cradlePackageDb cradle
|
||||||
compOpts
|
compOpts
|
||||||
| pkgDb == [] = CompilerOptions ghcopts importDirs []
|
| null pkgDb = CompilerOptions ghcopts importDirs []
|
||||||
| otherwise = CompilerOptions (ghcopts ++ pkgDb) [wdir,rdir] []
|
| otherwise = CompilerOptions (ghcopts ++ pkgDb) [wdir,rdir] []
|
||||||
wdir = cradleCurrentDir cradle
|
wdir = cradleCurrentDir cradle
|
||||||
rdir = cradleRootDir cradle
|
rdir = cradleRootDir cradle
|
||||||
|
Loading…
Reference in New Issue
Block a user