diff --git a/doc/api/module.md b/doc/api/module.md index 874b26fc60abf7..77cc3072771aea 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -811,7 +811,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