Skip to content

Commit

Permalink
Fixed typo in readJson.md (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
Reisclef committed Feb 2, 2022
1 parent a84ef6d commit 7edcb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/readJson.md
Expand Up @@ -60,7 +60,7 @@ fs.readJson(file, { throws: false }, (err, obj) => {
console.log(obj) // => null
})

// Wtih Promises:
// With Promises:
fs.readJson(file, { throws: false })
.then(obj => {
console.log(obj) // => null
Expand Down

0 comments on commit 7edcb16

Please sign in to comment.