aboutsummaryrefslogtreecommitdiff
path: root/src/modules/random
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-10-21 13:28:58 +0200
committerGitHub <[email protected]>2022-10-21 13:28:58 +0200
commitb983ca11922d3c6b07499adbe2089081a9a69083 (patch)
tree0f43f091ab298cb38e83d89b205f9b2345947a94 /src/modules/random
parent02f3967a9960a93a8f6137aebcaaae5754261135 (diff)
downloadfaker-b983ca11922d3c6b07499adbe2089081a9a69083.tar.xz
faker-b983ca11922d3c6b07499adbe2089081a9a69083.zip
refactor(location)!: rename address module (#1469)
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'src/modules/random')
-rw-r--r--src/modules/random/index.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/random/index.ts b/src/modules/random/index.ts
index 7f567edf..0505744d 100644
--- a/src/modules/random/index.ts
+++ b/src/modules/random/index.ts
@@ -32,14 +32,14 @@ export class RandomModule {
*/
word(): string {
const wordMethods = [
- this.faker.address.cardinalDirection,
- this.faker.address.cityName,
- this.faker.address.country,
- this.faker.address.county,
- this.faker.address.direction,
- this.faker.address.ordinalDirection,
- this.faker.address.state,
- this.faker.address.street,
+ this.faker.location.cardinalDirection,
+ this.faker.location.cityName,
+ this.faker.location.country,
+ this.faker.location.county,
+ this.faker.location.direction,
+ this.faker.location.ordinalDirection,
+ this.faker.location.state,
+ this.faker.location.street,
this.faker.color.human,