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

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Merlin Luntke authored and Michael Dawson committed 2021-03-08 17:40:13 -05:00
1 parent bba5aacc11
commit 97ebcdddcc
1 file changed
+3 -3
+3 -3
View File
@@ -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.
@@ -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}.
@@ -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