From 298a16a2e7da00626e3d0328ba6cba74974532f4 Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Sun, 27 Dec 2020 17:20:15 -0700 Subject: [PATCH] doc: update emitClose default for fs streams The default for the `emitClose` option was changed from `false` to `true` by nodejs/node#31408 which landed in f0d2df4 for v14.0.0. This commit updates the fs doc to match the current behavior. Signed-off-by: Kevin Locke PR-URL: https://github.com/nodejs/node/pull/36653 Reviewed-By: Rich Trott Reviewed-By: Robert Nagy --- doc/api/fs.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 971def3708826b..8cef874b6b2e98 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1758,6 +1758,9 @@ fs.copyFileSync('source.txt', 'destination.txt', COPYFILE_EXCL);