Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jan 13, 2022
1 parent 491ee92 commit 568c167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class Name {
* firstName
*
* @method faker.name.firstName
* @param gender
* @param gender
* @memberof faker.name
*/
firstName(gender?: string | number): string {
Expand Down Expand Up @@ -150,7 +150,7 @@ export class Name {
}

firstName ||= this.faker.name.firstName(gender);
lastName ||= lastName || this.faker.name.lastName(gender);
lastName ||= this.faker.name.lastName(gender);

switch (r) {
case 0:
Expand Down

0 comments on commit 568c167

Please sign in to comment.