diff --git a/lib/_stream_writable.js b/lib/_stream_writable.js index 2f69ba931afa4b..3bad957912b323 100644 --- a/lib/_stream_writable.js +++ b/lib/_stream_writable.js @@ -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')