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
|
| otherwise = do
|
||||||
i <- addAlert $ syncAlert nonxmppremotes
|
i <- addAlert $ syncAlert nonxmppremotes
|
||||||
failed <- a rs
|
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
|
let succeeded = filter (`notElem` failed) nonxmppremotes
|
||||||
updateAlertMap $ mergeAlert i $
|
updateAlertMap $ mergeAlert i $
|
||||||
syncResultAlert succeeded failed'
|
syncResultAlert succeeded failed'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue