aboutsummaryrefslogtreecommitdiff
path: root/src/modules/lorem
diff options
context:
space:
mode:
authorSaurabh kumar <[email protected]>2024-06-13 15:44:46 +0530
committerGitHub <[email protected]>2024-06-13 10:14:46 +0000
commita5ffca1c7863531d459f67cbab7bd9ba34d16904 (patch)
tree14c8100e1e51042319720634b5badb8bd655df85 /src/modules/lorem
parent2a2a13200acd858a2ee45e43072f55888511fb8d (diff)
downloadfaker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.tar.xz
faker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.zip
refactor(locale)!: use singular locale definition keys (#2932)
Diffstat (limited to 'src/modules/lorem')
-rw-r--r--src/modules/lorem/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/lorem/index.ts b/src/modules/lorem/index.ts
index 1f9ba026..785b5a96 100644
--- a/src/modules/lorem/index.ts
+++ b/src/modules/lorem/index.ts
@@ -79,7 +79,7 @@ export class LoremModule extends ModuleBase {
return this.faker.helpers.arrayElement(
filterWordListByLength({
...opts,
- wordList: this.faker.definitions.lorem.words,
+ wordList: this.faker.definitions.lorem.word,
})
);
}