diff options
| author | DivisionByZero <[email protected]> | 2023-04-27 17:33:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-27 17:33:43 +0200 |
| commit | 8cd196562be43d378bc82d0dfe8b003fd84c404f (patch) | |
| tree | 858f9178bac07ecca6352d2801d3e49fd0d4b9c0 /src/modules/location | |
| parent | 5ad55a58cc23bf0076e7f96ae73ae46f4510990d (diff) | |
| download | faker-8cd196562be43d378bc82d0dfe8b003fd84c404f.tar.xz faker-8cd196562be43d378bc82d0dfe8b003fd84c404f.zip | |
refactor(location)!: rename definition city to city_pattern (#2094)
Diffstat (limited to 'src/modules/location')
| -rw-r--r-- | src/modules/location/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 26ead8ad..e924bd7e 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -149,7 +149,9 @@ export class LocationModule { * @since 8.0.0 */ city(): string { - return this.faker.helpers.fake(this.faker.definitions.location.city); + return this.faker.helpers.fake( + this.faker.definitions.location.city_pattern + ); } /** |
