Skip to content

Commit 3d6390b

Browse files
BridgeARMylesBorins
authored andcommittedOct 11, 2017
stream: fix todo
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]>
1 parent 1c0ae10 commit 3d6390b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎lib/_stream_readable.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ Readable.ReadableState = ReadableState;
2626

2727
const EE = require('events');
2828
const Stream = require('stream');
29-
// TODO(bmeurer): Change this back to const once hole checks are
30-
// properly optimized away early in Ignition+TurboFan.
31-
var Buffer = require('buffer').Buffer;
29+
const Buffer = require('buffer').Buffer;
3230
const util = require('util');
3331
const debug = util.debuglog('stream');
3432
const BufferList = require('internal/streams/BufferList');

0 commit comments

Comments
 (0)
Please sign in to comment.