ssb-git-repo
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -482,3 +482,5 @@ var pull = require('pull-stream') | ||
if (objectIds.indexOf(id) > -1) continue // skip object being pushed now | ||
var msg = self._msgsByObject[id] | ||
var msg | ||
for (var repo = self, msg = null; repo && !msg; repo = repo.upstream) | ||
msg = repo._msgsByObject[id] | ||
if (msg) easyMsgs.push(msg) | ||
@@ -499,3 +501,5 @@ else needsFetching.push(id) | ||
if (!msgId) return | ||
var msg = self.updates.objects[msgId] | ||
var msg | ||
for (var repo = self, msg = null; repo && !msg; repo = repo.upstream) | ||
msg = repo.updates.objects[msgId] | ||
if (!msg) return console.error('missing message', msgId) | ||
@@ -502,0 +506,0 @@ return msg |
{ | ||
"name": "ssb-git-repo", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "git repos in secure-scuttlebutt", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55937
1512