remove redundant pattern match
brilliant spot by new ghc
This commit is contained in:
parent
cb9cf30c48
commit
543993b068
1 changed files with 1 additions and 3 deletions
|
@ -518,9 +518,7 @@ filterExport r tree = logExportExcluded (uuid r) $ \logwriter -> do
|
||||||
Nothing
|
Nothing
|
||||||
| issymlink -> catKey sha >>= \case
|
| issymlink -> catKey sha >>= \case
|
||||||
Just _ -> return (Just ti)
|
Just _ -> return (Just ti)
|
||||||
Nothing
|
Nothing -> excluded
|
||||||
| issymlink -> excluded
|
|
||||||
| otherwise -> return (Just ti)
|
|
||||||
| otherwise -> return (Just ti)
|
| otherwise -> return (Just ti)
|
||||||
Just matcher -> catKey sha >>= \case
|
Just matcher -> catKey sha >>= \case
|
||||||
Just k -> checkmatcher matcher k
|
Just k -> checkmatcher matcher k
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue