Skip to content

Commit

Permalink
fix: expose errors to resolve need for antipattern require
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
  • Loading branch information
jacobheun authored and daviddias committed May 29, 2018
1 parent a3ad16d commit bf1fb9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ function getSize (queryFn, callback) {

module.exports = IpfsRepo
module.exports.repoVersion = repoVersion
module.exports.errors = ERRORS

function ignoringIf (cond, cb) {
return (err) => {
Expand Down

0 comments on commit bf1fb9c

Please sign in to comment.