From ee5cfcb5f7797a48e144a72148d81b2474600f37 Mon Sep 17 00:00:00 2001 From: u9g Date: Sun, 14 Jan 2024 04:21:42 -0500 Subject: [PATCH] doc: fix spelling mistake PR-URL: https://github.com/nodejs/node/pull/51454 Reviewed-By: Antoine du Hamel Reviewed-By: Geoffrey Booth Reviewed-By: Luigi Pinca --- 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..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); }); - // 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, 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