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

Commit

Permalink
fix: remove argument from .stats.bw* (#699)
Browse files Browse the repository at this point in the history
* Update bw-readable-stream.js

* Update bw-pull-stream.js
  • Loading branch information
hacdias authored and dryajov committed Feb 23, 2018
1 parent d700b61 commit 7c6a348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/stats/bw-pull-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const transformChunk = require('./bw-util')
const deferred = require('pull-defer')

module.exports = (send) => {
return (hash, opts) => {
return (opts) => {
opts = opts || {}

const p = deferred.source()
Expand Down
2 changes: 1 addition & 1 deletion src/stats/bw-readable-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const pump = require('pump')
const transformChunk = require('./bw-util')

module.exports = (send) => {
return (hash, opts) => {
return (opts) => {
opts = opts || {}

const pt = new Stream.Transform({
Expand Down

0 comments on commit 7c6a348

Please sign in to comment.