From 80c93b7dfd5ac13108c910ec43e02867edf5fd39 Mon Sep 17 00:00:00 2001 From: u9g Date: Sat, 13 Jan 2024 19:09:28 -0500 Subject: [PATCH 1/2] doc: fix spelling mistake --- doc/api/module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/module.md b/doc/api/module.md index ee938953abeeca..80248b468da5fd 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -822,7 +822,7 @@ async function getPackageType(url) { .catch((err) => { if (err?.code !== 'ENOENT') console.error(err); }); - // Ff package.json existed and contained a `type` field with a value, voila + // If package.json existed and contained a `type` field with a value, voila if (type) return type; // Otherwise, (if not at the root) continue checking the next directory up // If at the root, stop and return false From 4b3e3f62a240bd2bc1381f0df83136f4538d00bd Mon Sep 17 00:00:00 2001 From: u9g Date: Sat, 13 Jan 2024 19:19:32 -0500 Subject: [PATCH 2/2] doc: add accent to letter Co-authored-by: Antoine du Hamel --- doc/api/module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/module.md b/doc/api/module.md index 80248b468da5fd..7b63d70a5e38ec 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -822,7 +822,7 @@ async function getPackageType(url) { .catch((err) => { if (err?.code !== 'ENOENT') console.error(err); }); - // If package.json existed and contained a `type` field with a value, voila + // If package.json existed and contained a `type` field with a value, voilĂ  if (type) return type; // Otherwise, (if not at the root) continue checking the next directory up // If at the root, stop and return false