git ssb

0+

cel / ssb-pull-requests



Commit 5979212beeb4303448d8f5b77e6f6d24b3cb08d3

Fix boolean thing

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

Files changed

index.jschanged
index.jsView
@@ -103,9 +103,9 @@
103103 }),
104104 paramap(function (msg, cb) {
105105 getPullReq(msg.key, cb)
106106 }, 8),
107- pull.filter(opts.open == null || function (pr) {
107+ pull.filter(opts.open != null && function (pr) {
108108 return pr.open == opts.open
109109 })
110110 )
111111 }

Built with git-ssb-web