From e3f905ac7e1151d8dbcd520bde379506a69161fa Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 2 Jun 2019 17:08:53 +0200 Subject: [PATCH] doc: remove "encouraged" as hedging in fs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/28027 Reviewed-By: Michaël Zasso Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater --- doc/api/fs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 9d4c3350298c86..f1b7e1ccbb1c60 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -73,9 +73,9 @@ fs.rename('/tmp/hello', '/tmp/world', (err) => { }); ``` -In busy processes, the programmer is _strongly encouraged_ to use the -asynchronous versions of these calls. The synchronous versions will block -the entire process until they complete — halting all connections. +In busy processes, use the asynchronous versions of these calls. The synchronous +versions will block the entire process until they complete, halting all +connections. While it is not recommended, most fs functions allow the callback argument to be omitted, in which case a default callback is used that rethrows errors. To