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 and targos committed Feb 15, 2024
1 parent 4b1c683 commit fc56296
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 @@ -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
Expand Down

0 comments on commit fc56296

Please sign in to comment.