From 7e46700fde532d7f826969af1efb3212dfcb9c3c Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 13 Oct 2024 00:59:11 +0200 Subject: [PATCH] fix(food): use arrayElement instead of fake for adjective --- src/modules/food/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/food/index.ts b/src/modules/food/index.ts index 0effaae6bcb..45b91f3047e 100644 --- a/src/modules/food/index.ts +++ b/src/modules/food/index.ts @@ -18,7 +18,9 @@ export class FoodModule extends ModuleBase { * @since 9.0.0 */ adjective(): string { - return this.faker.helpers.fake(this.faker.definitions.food.adjective); + return this.faker.helpers.arrayElement( + this.faker.definitions.food.adjective + ); } /**