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

Commit

Permalink
fix: fix gc tests (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored Apr 28, 2020
1 parent a69f782 commit 9f7f03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/repo/gc.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ module.exports = (common, options) => {
const obj = await new DAGNode(Buffer.from('fruit'), [{
Name: 'p',
Hash: dataCid,
TSize: addRes[0].size
Tsize: addRes[0].size
}])

// Put the object into IPFS
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/src/repo/gc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ module.exports = configure(api => {
}
})

yield res.ndjson()
yield * res.ndjson()
}
})

0 comments on commit 9f7f03e

Please sign in to comment.