Skip to content

Commit 5343013

Browse files
committed
added missing encoding parameter in fs.writeFileSync function
1 parent 1d75cc3 commit 5343013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/file-system/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ console.log("At last")
5252

5353

5454
```javascript
55-
fs.writeFileSync("test.txt","mahima is good girl")
55+
fs.writeFileSync("test.txt","mahima is good girl", 'utf8')
5656
console.log("This is sync: the process is intentionally blocked ")
5757

5858
```

0 commit comments

Comments
 (0)