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 <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
  • Loading branch information
Luntke authored and danielleadams committed Mar 16, 2021
1 parent f7edb07 commit e4c8c50
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 @@ -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

0 comments on commit e4c8c50

Please sign in to comment.