File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -79,13 +79,10 @@ In busy processes, use the asynchronous versions of these calls. The synchronous
7979versions will block the entire process until they complete, halting all
8080connections.
8181
82- While it is not recommended, most fs functions allow the callback argument to
83- be omitted, in which case a default callback is used that rethrows errors. To
84- get a trace to the original call site, set the ` NODE_DEBUG ` environment
85- variable:
86-
87- Omitting the callback function on asynchronous fs functions is deprecated and
88- may result in an error being thrown in the future.
82+ Most asynchronous ` fs ` functions allow the callback argument to be omitted.
83+ However, this usage is deprecated. When the callback is omitted, a default
84+ callback is used that rethrows errors. To get a trace to the original call site,
85+ set the ` NODE_DEBUG ` environment variable:
8986
9087``` console
9188$ cat script.js
You can’t perform that action at this time.
0 commit comments