Skip to content

Commit

Permalink
revert: fix test error in node v12
Browse files Browse the repository at this point in the history
  • Loading branch information
ctalkington committed Jul 20, 2019
1 parent 8353b76 commit 633e99a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ inherits(UnBufferedStream, Stream);
module.exports.UnBufferedStream = UnBufferedStream;

function WriteHashStream(path, options) {
if (options) {
options.objectMode = true;
} else {
options = { objectMode: true };
}

fs.WriteStream.call(this, path, options);

this.hash = crypto.createHash('sha1');
Expand Down

0 comments on commit 633e99a

Please sign in to comment.