Skip to content

Commit bf1fb9c

Browse files
jacobheundaviddias
authored andcommitted
fix: expose errors to resolve need for antipattern require
License: MIT Signed-off-by: Jacob Heun <[email protected]>
1 parent a3ad16d commit bf1fb9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ function getSize (queryFn, callback) {
345345

346346
module.exports = IpfsRepo
347347
module.exports.repoVersion = repoVersion
348+
module.exports.errors = ERRORS
348349

349350
function ignoringIf (cond, cb) {
350351
return (err) => {

0 commit comments

Comments
 (0)