Skip to content

Commit

Permalink
stream: fix todo
Browse files Browse the repository at this point in the history
With the update to v8 6.1 this todo can now be addressed.

PR-URL: #15667
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benedikt Meurer <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
BridgeAR authored and MylesBorins committed Oct 3, 2017
1 parent 71b2a5c commit 7ae6132
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/_stream_readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ Readable.ReadableState = ReadableState;

const EE = require('events');
const Stream = require('stream');
// TODO(bmeurer): Change this back to const once hole checks are
// properly optimized away early in Ignition+TurboFan.
var Buffer = require('buffer').Buffer;
const Buffer = require('buffer').Buffer;
const util = require('util');
const debug = util.debuglog('stream');
const BufferList = require('internal/streams/BufferList');
Expand Down

0 comments on commit 7ae6132

Please sign in to comment.