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: #21753
Refs: #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 targos committed Jul 19, 2018
1 parent d0c16f4 commit 6af4f1f
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 6af4f1f

Please sign in to comment.