Skip to content

Commit

Permalink
chore(git): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox authored and import-brain committed Aug 27, 2022
1 parent 7642667 commit 3a69ce9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/modules/git/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ export class Git {
* faker.git.commitSha() // '2c6e3880fd94ddb7ef72d34e683cdc0c47bec6e6'
*/
commitSha(): string {
return this.faker.datatype
.hexadecimal({ length: 40, case: 'lower', prefix: '' });
return this.faker.datatype.hexadecimal({
length: 40,
case: 'lower',
prefix: '',
});
}

/**
Expand All @@ -103,7 +106,10 @@ export class Git {
* faker.git.shortSha() // '6155732'
*/
shortSha(): string {
return this.faker.datatype
.hexadecimal({ length: 7, case: 'lower', prefix: '' });
return this.faker.datatype.hexadecimal({
length: 7,
case: 'lower',
prefix: '',
});
}
}

0 comments on commit 3a69ce9

Please sign in to comment.