Skip to content

Commit 58d2442

Browse files
u9grichardlau
authored andcommitted
doc: fix spelling mistake
PR-URL: #51454 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 5ba4d96 commit 58d2442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ async function getPackageType(url) {
884884
.catch((err) => {
885885
if (err?.code !== 'ENOENT') console.error(err);
886886
});
887-
// Ff package.json existed and contained a `type` field with a value, voila
887+
// If package.json existed and contained a `type` field with a value, voilà
888888
if (type) return type;
889889
// Otherwise, (if not at the root) continue checking the next directory up
890890
// If at the root, stop and return false

0 commit comments

Comments
 (0)