hlint hack.

This commit is contained in:
Kazu Yamamoto 2014-04-03 16:17:51 +09:00
parent 246ea5e2c9
commit 89c733aef8
1 changed files with 2 additions and 2 deletions

View File

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