From fc5629616b29fca80f71fcc19b3e134a76a1e546 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 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