From 7edcb16a06e041826af3303f961866bf3b243dae Mon Sep 17 00:00:00 2001 From: Richard <9120292+Reisclef@users.noreply.github.com> Date: Wed, 2 Feb 2022 20:27:56 +0000 Subject: [PATCH] Fixed typo in readJson.md (#940) --- docs/readJson.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/readJson.md b/docs/readJson.md index e7500a2b1..0cfb2168f 100644 --- a/docs/readJson.md +++ b/docs/readJson.md @@ -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