Skip to content

Commit ee83b3a

Browse files
ST-DDTdemipel8
authored andcommitted
docs: remove superfluous links in docs (faker-js#489)
1 parent a96fc68 commit ee83b3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/apidoc.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ async function build(): Promise<void> {
8989
const moduleName = module.name.replace('_', '');
9090
const lowerModuleName =
9191
moduleName.substring(0, 1).toLowerCase() + moduleName.substring(1);
92+
if (faker[lowerModuleName] === undefined) {
93+
continue;
94+
}
9295
console.log(`Processing Module ${moduleName}`);
9396

9497
modulesPages.push({

0 commit comments

Comments
 (0)