Skip to content

Commit fc56296

Browse files
u9gtargos
authored andcommitted
doc: fix spelling mistake
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>
1 parent 4b1c683 commit fc56296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ async function getPackageType(url) {
811811
.catch((err) => {
812812
if (err?.code !== 'ENOENT') console.error(err);
813813
});
814-
// Ff package.json existed and contained a `type` field with a value, voila
814+
// If package.json existed and contained a `type` field with a value, voilà
815815
if (type) return type;
816816
// Otherwise, (if not at the root) continue checking the next directory up
817817
// If at the root, stop and return false

0 commit comments

Comments
 (0)