diff options
| author | Shinigami <[email protected]> | 2023-04-17 10:37:35 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-17 08:37:35 +0000 |
| commit | b69c28e7b0dd125543a990db59eef30c0f7a2dcf (patch) | |
| tree | 48f1e271fa79974d2faf5b54c62e84cd127f9ccc /src/modules/company | |
| parent | 470801155f19382386d45fdb9eb1eafc80b9557a (diff) | |
| download | faker-b69c28e7b0dd125543a990db59eef30c0f7a2dcf.tar.xz faker-b69c28e7b0dd125543a990db59eef30c0f7a2dcf.zip | |
refactor: rename patterns to pattern (#2059)
Diffstat (limited to 'src/modules/company')
| -rw-r--r-- | src/modules/company/index.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/company/index.ts b/src/modules/company/index.ts index 98dc2c68..40177ec0 100644 --- a/src/modules/company/index.ts +++ b/src/modules/company/index.ts @@ -62,9 +62,7 @@ export class CompanyModule { * @since 7.4.0 */ name(): string { - return this.faker.helpers.fake( - this.faker.definitions.company.name_patterns - ); + return this.faker.helpers.fake(this.faker.definitions.company.name_pattern); } /** |
