We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51ccfe commit 65214ebCopy full SHA for 65214eb
1 file changed
src/main/java/net/datafaker/providers/base/Credentials.java
@@ -149,8 +149,7 @@ public String weakPassword() {
149
* @return A randomly generated user ID
150
*/
151
public String userId() {
152
- String regex = resolve("credentials.uid_pattern");
153
- return faker.regexify(regex);
+ return faker.regexify(resolve("credentials.uid_pattern"));
154
}
155
156
/**
0 commit comments