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 <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • 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.