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 <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
u9g authored and richardlau committed Mar 25, 2024
1 parent 5ba4d96 commit 58d2442
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 @@ -884,7 +884,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 58d2442

Please sign in to comment.