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