hlint hack.

This commit is contained in:
Kazu Yamamoto 2014-04-03 16:17:51 +09:00
parent 246ea5e2c9
commit 89c733aef8

View File

@ -91,7 +91,7 @@ initializeFlagsWithCradle opt cradle ghcopts logging
where
pkgDb = userPackageDbOptsForGhc $ cradlePackageDb cradle
compOpts
| pkgDb == [] = CompilerOptions ghcopts importDirs []
| null pkgDb = CompilerOptions ghcopts importDirs []
| otherwise = CompilerOptions (ghcopts ++ pkgDb) [wdir,rdir] []
wdir = cradleCurrentDir cradle
rdir = cradleRootDir cradle