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
|
||||
| issymlink -> catKey sha >>= \case
|
||||
Just _ -> return (Just ti)
|
||||
Nothing
|
||||
| issymlink -> excluded
|
||||
| otherwise -> return (Just ti)
|
||||
Nothing -> excluded
|
||||
| otherwise -> return (Just ti)
|
||||
Just matcher -> catKey sha >>= \case
|
||||
Just k -> checkmatcher matcher k
|
||||
|
|
Loading…
Reference in a new issue