Commit d43e0f0bbeef0121e541b450c1c68226f430140c
Remove unused calls to ssb-git-repo
Charles Lehner committed on 4/18/2016, 6:20:33 PMParent: 881fe3c322cf12c7c95d10e256c3c81a20fb989a
Files changed
index.js | changed |
package.json | changed |
index.js | ||
---|---|---|
@@ -1,9 +1,8 @@ | ||
1 | 1 | var pull = require('pull-stream') |
2 | 2 | var paramap = require('pull-paramap') |
3 | 3 | var asyncMemo = require('asyncmemo') |
4 | 4 | var Issues = require('ssb-issues') |
5 | -var ssbGit = require('ssb-git-repo') | |
6 | 5 | |
7 | 6 | function readNext(fn) { |
8 | 7 | var next |
9 | 8 | return function (end, cb) { |
@@ -27,14 +26,8 @@ | ||
27 | 26 | init: function (sbot) { |
28 | 27 | |
29 | 28 | var issues = Issues.init(sbot) |
30 | 29 | var getMsg = asyncMemo(sbot.get) |
31 | - var getRepo = asyncMemo(function (id, cb) { | |
32 | - getMsg(id, function (err, msg) { | |
33 | - if (err) return cb(err) | |
34 | - ssbGit.getRepo(sbot, {key: id, value: msg}, {live: true}, cb) | |
35 | - }) | |
36 | - }) | |
37 | 30 | |
38 | 31 | var getPullReq = asyncMemo(function (id, cb) { |
39 | 32 | issues.get(id, function (err, issue) { |
40 | 33 | if (err) return cb(err) |
Built with git-ssb-web