Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.

Commit fd08049

Browse files
committed
fix: writing before resolving twice
1 parent 5ee3fba commit fd08049

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Streamify.prototype.addDest = function(stream) {
166166
this._destWritten.forEach((args) => {
167167
stream.write.apply(stream, args);
168168
});
169+
this._destWritten = [];
169170
}
170171
};
171172

0 commit comments

Comments
 (0)