Skip to content

Commit a8dfa2f

Browse files
authored
fix(food): use arrayElement instead of fake for adjective (#3178)
1 parent 60c4865 commit a8dfa2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/food/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ export class FoodModule extends ModuleBase {
1818
* @since 9.0.0
1919
*/
2020
adjective(): string {
21-
return this.faker.helpers.fake(this.faker.definitions.food.adjective);
21+
return this.faker.helpers.arrayElement(
22+
this.faker.definitions.food.adjective
23+
);
2224
}
2325

2426
/**

0 commit comments

Comments
 (0)