Skip to content

Commit

Permalink
stream: name anonymous function in _stream_writable.js
Browse files Browse the repository at this point in the history
PR-URL: nodejs#21753
Refs: nodejs#8913
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
mariotsi authored and BridgeAR committed Jul 18, 2018
1 parent 7e4e04d commit caf2335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_stream_writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ WritableState.prototype.getBuffer = function getBuffer() {
};

Object.defineProperty(WritableState.prototype, 'buffer', {
get: internalUtil.deprecate(function() {
get: internalUtil.deprecate(function writableStateBufferGetter() {
return this.getBuffer();
}, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' +
'instead.', 'DEP0003')
Expand Down

0 comments on commit caf2335

Please sign in to comment.