Commit d5e0970d64c9af2207d041e9b6c2196ce7ec2fe9
Work around problem with async markdown
Charles Lehner committed on 3/27/2016, 4:57:44 PMParent: f856a88ddc79a7ba60cbc42fa9ea382d5c05efbb
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -1024,9 +1024,9 @@ | ||
1024 | 1024 | readOnce(function (cb) { |
1025 | 1025 | pull(obj.read, pull.collect(function (err, bufs) { |
1026 | 1026 | if (err) return cb(err) |
1027 | 1027 | var buf = Buffer.concat(bufs, obj.length) |
1028 | - markdown(buf.toString(), repo, cb) | |
1028 | + cb(null, markdown(buf.toString(), repo)) | |
1029 | 1029 | })) |
1030 | 1030 | }) |
1031 | 1031 | : cat([ |
1032 | 1032 | pull.once('<pre>'), |
Built with git-ssb-web