hyperdrive icon indicating copy to clipboard operation
hyperdrive copied to clipboard

Exception thrown when shallow == true

Open pfrazee opened this issue 8 years ago • 1 comments

Bug in line https://github.com/mafintosh/hyperdrive/blob/master/index.js#L233

TypeError: self.content._storage.data.add is not a function
    at /Users/paulfrazee/my/pauls-dat-api/node_modules/hyperdrive/index.js:233:36
    at call (/Users/paulfrazee/my/pauls-dat-api/node_modules/mutexify/index.js:6:5)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

pfrazee avatar Apr 10 '17 16:04 pfrazee

Ah yeah. That option actually isn't supported. Just forgot to remove the code for it. There gonna be a "latest: true" instead.

mafintosh avatar Apr 10 '17 17:04 mafintosh