Skip to content

Commit 671c4b5

Browse files
authored
simple typo (#4001)
'read' should be 'write'
1 parent f599460 commit 671c4b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

locale/en/knowledge/file-system/how-to-write-files-in-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fs = require('fs');
1414
fs.writeFile(filename, data, [encoding], [callback])
1515
```
1616

17-
`file = (string)` filepath of the file to read
17+
`file = (string)` filepath of the file to write
1818

1919
`data = (string or buffer)` the data you want to write to the file
2020

0 commit comments

Comments
 (0)