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

Commit

Permalink
Merge pull request #37 from ipfs/fix/exporter
Browse files Browse the repository at this point in the history
large file exporter fix
  • Loading branch information
daviddias committed May 9, 2016
2 parents 5df8cbc + 50b43d0 commit 51024fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function exporter (hash, dagService, options, callback) {
}
return
} else {
ee.emit('file', { stream: rs, path: name, dir: dir })
init = false
rs._read = () => {
if (init) {
Expand Down Expand Up @@ -88,6 +87,7 @@ function exporter (hash, dagService, options, callback) {
return
})
}
ee.emit('file', { stream: rs, path: name, dir: dir })
}
}

Expand Down

0 comments on commit 51024fc

Please sign in to comment.