Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Jan 30, 2022
1 parent 694fb4c commit 5a522a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/apidoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,7 @@ async function build(): Promise<void> {
content += `faker.${lowerModuleName}.${methodName}()`;
content += (example ? ` // => ${example}` : '') + '\n';
} catch (error) {
// If there is an error, we simply don't show the example call.
// console.debug(
// `Failed to call: faker.${lowerModuleName}${methodName}()`,
// error
// );
// Ignore the error => hide the example call + result.
}
}
const examples =
Expand Down

0 comments on commit 5a522a7

Please sign in to comment.