Skip to content

Commit

Permalink
doc: fix typos in /doc/api/fs.md
Browse files Browse the repository at this point in the history
PR-URL: #37557
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Pooja D P <[email protected]>
  • Loading branch information
Luntke authored and targos committed Sep 4, 2021
1 parent bbcc217 commit f9d36cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,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 @@ -848,7 +848,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 @@ -1002,7 +1002,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

0 comments on commit f9d36cb

Please sign in to comment.