aboutsummaryrefslogtreecommitdiff
path: root/src/modules/git
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-10-17 04:05:05 +0800
committerGitHub <[email protected]>2022-10-16 22:05:05 +0200
commit20f2236265467feb095cce5b5735bbadc07b9696 (patch)
treeffb3b6a4c6c1f0e7e30b4d02e97de63789030ee1 /src/modules/git
parent90b9c5c39b8c193d41b7d3d9801e5b10360daa4c (diff)
downloadfaker-20f2236265467feb095cce5b5735bbadc07b9696.tar.xz
faker-20f2236265467feb095cce5b5735bbadc07b9696.zip
refactor(person)!: rename name module (#1445)
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'src/modules/git')
-rw-r--r--src/modules/git/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts
index d92e3454..cd9e7de0 100644
--- a/src/modules/git/index.ts
+++ b/src/modules/git/index.ts
@@ -65,7 +65,7 @@ export class GitModule {
}
lines.push(
- `Author: ${this.faker.name.firstName()} ${this.faker.name.lastName()} <${this.faker.internet.email()}>`,
+ `Author: ${this.faker.person.firstName()} ${this.faker.person.lastName()} <${this.faker.internet.email()}>`,
`Date: ${this.faker.date.recent().toString()}`,
'',
`\xa0\xa0\xa0\xa0${this.commitMessage()}`,