diff options
Diffstat (limited to 'lib/buffer.js')
-rw-r--r-- | lib/buffer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buffer.js b/lib/buffer.js index ac5e19c408..b032736f50 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -916,7 +916,7 @@ Buffer.prototype.write = function write(string, offset, length, encoding) { if (string.length > 0 && (length < 0 || offset < 0)) throw new ERR_BUFFER_OUT_OF_BOUNDS(); } else { - // if someone is still calling the obsolete form of write(), tell them. + // If someone is still calling the obsolete form of write(), tell them. // we don't want eg buf.write("foo", "utf8", 10) to silently turn into // buf.write("foo", "utf8"), so we can't ignore extra args throw new ERR_NO_LONGER_SUPPORTED( |