mirror of
https://github.com/github/semantic.git
synced 2025-01-08 08:30:27 +03:00
isErrorInfo/hasErrorInfo
This commit is contained in:
parent
f4ba3847ba
commit
a701de4b58
@ -190,7 +190,7 @@ isBranchInfo info = case info of
|
||||
hasErrorInfo :: DiffInfo -> Bool
|
||||
hasErrorInfo info = case info of
|
||||
(ErrorInfo _ _) -> True
|
||||
(BranchInfo branches _ _) -> any isErrorInfo branches
|
||||
(BranchInfo branches _ _) -> any hasErrorInfo branches
|
||||
_ -> False
|
||||
|
||||
-- The user-facing category name of 'a'.
|
||||
|
Loading…
Reference in New Issue
Block a user