File tree 1 file changed +4
-7
lines changed
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
79
79
versions will block the entire process until they complete, halting all
80
80
connections.
81
81
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:
89
86
90
87
``` console
91
88
$ cat script.js
You can’t perform that action at this time.
0 commit comments