Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix typos in /doc/api/fs.md #37557

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ added: v10.0.0
-->

* `len` {integer} **Default:** `0`
* Returns: {Promise} Fulfills with `undefined` upo nsuccess.
* Returns: {Promise} Fulfills with `undefined` upon success.

Truncates the file.

Expand Down Expand Up @@ -847,7 +847,7 @@ changes:
**Default:** `'r'`.
* `mode` {string|integer} Sets the file mode (permission and sticky bits)
if the file is created. **Default:** `0o666` (readable and writable)
* Returns: {Promise} Fullfils with a {FileHandle} object.
* Returns: {Promise} Fulfills with a {FileHandle} object.

Opens a {FileHandle}.

Expand Down Expand Up @@ -1001,7 +1001,7 @@ added: v10.0.0
* Returns: {Promise} Fulfills with the `linkString` upon success.

Reads the contents of the symbolic link referred to by `path`. See the POSIX
readlink(2) documentation for more etail. The promise is resolved with the
readlink(2) documentation for more detail. The promise is resolved with the
`linkString` upon success.

The optional `options` argument can be a string specifying an encoding, or an
Expand Down