From aea467d6bb828f47a402bd05a677a00a3f4a7697 Mon Sep 17 00:00:00 2001 From: Richard <9120292+Reisclef@users.noreply.github.com> Date: Wed, 2 Feb 2022 13:27:44 +0000 Subject: [PATCH] Fixed typo in readJson.md --- 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