Skip to content

Commit

Permalink
doc: remove reference to fs/promises
Browse files Browse the repository at this point in the history
According to nodejs#20504, this API was removed.
  • Loading branch information
kellyselden authored and Kelly Selden committed Jul 16, 2020
1 parent 3b13032 commit 00880da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4472,7 +4472,7 @@ this API: [`fs.writev()`][].

The `fs.promises` API provides an alternative set of asynchronous file system
methods that return `Promise` objects rather than using callbacks. The
API is accessible via `require('fs').promises` or `require('fs/promises')`.
API is accessible via `require('fs').promises`.

### Class: `FileHandle`
<!-- YAML
Expand Down

0 comments on commit 00880da

Please sign in to comment.