Skip to content

Commit

Permalink
doc: fix spelling mistake
Browse files Browse the repository at this point in the history
PR-URL: #51454
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
u9g authored Jan 14, 2024
1 parent c25878d commit ee5cfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee5cfcb

Please sign in to comment.