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

Commit

Permalink
fix(cli): make ipfs files add work online and offline
Browse files Browse the repository at this point in the history
Fixes #480
  • Loading branch information
dignifiedquire authored and daviddias committed Sep 13, 2016
1 parent 8c59db8 commit 86b69bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cli/commands/files/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ module.exports = {
}

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

0 comments on commit 86b69bd

Please sign in to comment.