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

Commit

Permalink
fix: add a return to callback
Browse files Browse the repository at this point in the history
  • Loading branch information
popmanhe authored and vmx committed Jan 7, 2019
1 parent 5c2b82a commit eb73e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dag-node/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function create (data, links, callback) {
return callback(err)
}

callback(null, new DAGNode(data, links, buffer.length))
return callback(null, new DAGNode(data, links, buffer.length))
})
}

Expand Down

0 comments on commit eb73e70

Please sign in to comment.