git ssb

0+

cel / ssb-issues



Commit 17411c5622cd1b164df831e4a448053818ddbccb

Fix boolean thing

true is not a valid filter. false is. (it becomes an identity function)
Charles Lehner committed on 6/10/2016, 4:42:47 PM
Parent: d1c35a56ec4179d01c63cbaea8d6934445b0eca9

Files changed

index.jschanged
index.jsView
@@ -197,9 +197,9 @@
197197 }),
198198 paramap(function (msg, cb) {
199199 getIssue(msg.key, cb)
200200 }, 8),
201- pull.filter(opts.open == null || function (pr) {
201+ pull.filter(opts.open != null && function (pr) {
202202 return pr.open == opts.open
203203 })
204204 )
205205 }

Built with git-ssb-web