fix inverted logic in filtering failed remotes
This commit is contained in:
parent
5c943b051c
commit
f8707b6d3b
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ syncAction rs a
|
|||
| otherwise = do
|
||||
i <- addAlert $ syncAlert nonxmppremotes
|
||||
failed <- a rs
|
||||
let failed' = filter (Git.repoIsLocalUnknown . Remote.repo) failed
|
||||
let failed' = filter (not . Git.repoIsLocalUnknown . Remote.repo) failed
|
||||
let succeeded = filter (`notElem` failed) nonxmppremotes
|
||||
updateAlertMap $ mergeAlert i $
|
||||
syncResultAlert succeeded failed'
|
||||
|
|
Loading…
Reference in a new issue