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 <cjihrig@gmail.com>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
BridgeAR authored and MylesBorins committed Oct 11, 2017
1 parent 1c0ae10 commit 3d6390b
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 3d6390b

Please sign in to comment.