idiom
This commit is contained in:
parent
167523f09d
commit
4f9336bb60
5 changed files with 6 additions and 6 deletions
|
@ -187,7 +187,7 @@ filterFiles l = do
|
|||
let regexp = compile (toregex exclude) []
|
||||
return $ filter (notExcluded regexp) l'
|
||||
where
|
||||
notState f = not $ isPrefixOf stateDir f
|
||||
notState f = not $ stateDir `isPrefixOf` f
|
||||
notExcluded r f = case match r f [] of
|
||||
Nothing -> True
|
||||
Just _ -> False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue