Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 86b69bd

Browse files
dignifiedquiredaviddias
authored andcommitted
fix(cli): make ipfs files add work online and offline
Fixes #480
1 parent 8c59db8 commit 86b69bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cli/commands/files/add.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ module.exports = {
6060
}
6161

6262
// TODO: revist when interface-ipfs-core exposes pull-streams
63-
// pull-stream -> stream -> pull-stream
64-
// is not a good idea, so if we have a pull interface
65-
// available, use it
6663
let createAddStream = (cb) => {
6764
ipfs.files.createAddStream((err, stream) => {
6865
cb(err, err ? null : toPull.transform(stream))

0 commit comments

Comments
 (0)