initializeFlagsWithCradle also retuns PackageDescription.

This commit is contained in:
Kazu Yamamoto
2013-09-19 16:25:36 +09:00
parent 8e4d2cec21
commit 560f081727
2 changed files with 9 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ check _ _ [] = error "ghc-mod: check: No files given"
check opt cradle fileNames = checkIt `gcatch` handleErrMsg ls
where
checkIt = do
readLog <- initializeFlagsWithCradle opt cradle options True
(readLog,_) <- initializeFlagsWithCradle opt cradle options True
setTargetFiles fileNames
checkSlowAndSet
void $ load LoadAllTargets