From b4c1d8273cd9ac0ca3eadef3ca845bbe3a2f6571 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 8 Nov 2018 11:45:33 +1100 Subject: [PATCH] doc: update fs.open() changes record for optional 'flags' Was missed on original PR. Ref: https://github.com/nodejs/node/pull/23767 PR-URL: https://github.com/nodejs/node/pull/24240 Refs: https://github.com/nodejs/node/pull/23767 Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- doc/api/fs.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/api/fs.md b/doc/api/fs.md index 21f1b91db6e15e..a062ba6db52250 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -2308,6 +2308,9 @@ object with an `encoding` property specifying the character encoding to use. * `path` {string|Buffer|URL} * `flags` {string|number} See [support of file system `flags`][]. + **Default:** `'r'`. * `mode` {integer} **Default:** `0o666` (readable and writable) * Returns: {Promise}