Skip to content

Commit 0e18bef

Browse files
redbugzMarak
authored andcommitted
Fix name suffixes
Fixes names so that it puts suffixes at the end of names instead of prefixes Conflicts: lib/name.js
1 parent a41140d commit 0e18bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/name.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function Name (faker) {
7676
return prefix + " " + firstName + " " + lastName;
7777
}
7878
case 1:
79-
suffix = faker.name.prefix(gender);
79+
suffix = faker.name.suffix(gender);
8080
if (suffix) {
8181
return firstName + " " + lastName + " " + suffix;
8282
}

0 commit comments

Comments
 (0)