Fix bug in --exclude introduced in 0.20110516.
This commit is contained in:
parent
224977900d
commit
001edb008a
2 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,7 @@ filterFiles l = do
|
|||
else return $ filter (notExcluded $ wildsRegex exclude) l'
|
||||
where
|
||||
notState f = not $ stateDir `isPrefixOf` f
|
||||
notExcluded r f = isJust $ match r f []
|
||||
notExcluded r f = isNothing $ match r f []
|
||||
|
||||
wildsRegex :: [String] -> Regex
|
||||
wildsRegex ws = compile regex []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue