File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3985,7 +3985,7 @@ changes:
3985
3985
* ` string ` {string}
3986
3986
3987
3987
Write ` string ` to the file specified by ` fd ` . If ` string ` is not a string, then
3988
- the value will be coerced to one .
3988
+ an exception will be thrown .
3989
3989
3990
3990
` position ` refers to the offset from the beginning of the file where this data
3991
3991
should be written. If ` typeof position !== 'number' ` the data will be written at
@@ -4051,7 +4051,7 @@ changes:
4051
4051
* ` err ` {Error}
4052
4052
4053
4053
When ` file ` is a filename, asynchronously writes data to the file, replacing the
4054
- file if it already exists. ` data ` can be a string or a buffer.
4054
+ file if it already exists. ` data ` can be a string or a buffer.
4055
4055
4056
4056
When ` file ` is a file descriptor, the behavior is similar to calling
4057
4057
` fs.write() ` directly (which is recommended). See the notes below on using
You can’t perform that action at this time.
0 commit comments