Commit 985736df8c6fff373c4b3e2f020991b272412418
Respect 'open' option in list()
Charles Lehner committed on 4/18/2016, 6:09:05 PMParent: 6265721f1afb89664116866cfab644d8e413a9cd
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -196,9 +196,12 @@ | ||
196 | 196 | && (!opts.author || opts.author == msg.value.author) |
197 | 197 | }), |
198 | 198 | paramap(function (msg, cb) { |
199 | 199 | getIssue(msg.key, cb) |
200 | - }, 8) | |
200 | + }, 8), | |
201 | + opts.open != null && pull.filter(function (pr) { | |
202 | + return pr.open == opts.open | |
203 | + }) | |
201 | 204 | ) |
202 | 205 | } |
203 | 206 | |
204 | 207 | function editIssue(id, opts, cb) { |
Built with git-ssb-web