Skip to content

Commit 55b055d

Browse files
committed
fix: return super.write() return value
1 parent d834c8d commit 55b055d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class IntegrityStream extends MiniPass {
4949
write (data) {
5050
this.size += data.length
5151
this.hashes.forEach(h => h.update(data))
52-
super.write(data)
52+
return super.write(data)
5353
}
5454

5555
onEnd () {

0 commit comments

Comments
 (0)