File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3979,7 +3979,7 @@ changes:
3979
3979
* ` string ` {string}
3980
3980
3981
3981
Write ` string ` to the file specified by ` fd ` . If ` string ` is not a string, then
3982
- the value will be coerced to one .
3982
+ an exception will be thrown .
3983
3983
3984
3984
` position ` refers to the offset from the beginning of the file where this data
3985
3985
should be written. If ` typeof position !== 'number' ` the data will be written at
@@ -4045,7 +4045,7 @@ changes:
4045
4045
* ` err ` {Error}
4046
4046
4047
4047
When ` file ` is a filename, asynchronously writes data to the file, replacing the
4048
- file if it already exists. ` data ` can be a string or a buffer.
4048
+ file if it already exists. ` data ` can be a string or a buffer.
4049
4049
4050
4050
When ` file ` is a file descriptor, the behavior is similar to calling
4051
4051
` fs.write() ` directly (which is recommended). See the notes below on using
You can’t perform that action at this time.
0 commit comments