randWord sometimes generates one letter
Hypenate opened this issue · comments
Ben commented
Is this a regression?
No
Description
When using randWord() it sometimes only gives you one letter, a letter is not a word.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
If you agree, I can do a PR.
A quick check if the length > 1 can be sufficient, if not we regenerate
I don't think there is another way because falso uses Fako?
Do you want to create a pull request?
Yes
Netanel Basal commented
Sure, go ahead.