Revert "removing spaces."

This reverts commit 986eedcc75.
This commit is contained in:
Kazu Yamamoto 2014-09-16 12:22:18 +09:00
parent 986eedcc75
commit 35a9da34a0
2 changed files with 7 additions and 7 deletions

View File

@ -167,11 +167,11 @@ checkStx :: IOish m
-> FilePath
-> GhcModT m (String, Bool, Set FilePath)
checkStx set file = do
-- set' <- newFileSet set file
-- let files = S.toList set'
eret <- check [file]
set' <- newFileSet set file
let files = S.toList set'
eret <- check files
case eret of
Right ret -> return (ret, True, set)
Right ret -> return (ret, True, set')
Left ret -> return (ret, True, set) -- fxime: set
newFileSet :: IOish m => Set FilePath -> FilePath -> GhcModT m (Set FilePath)