Skip to content

Commit

Permalink
Merge pull request #230 from xomaczar/master
Browse files Browse the repository at this point in the history
[fix] Username must be a string
  • Loading branch information
Marak committed Jul 6, 2015
2 parents 36d5e85 + 4cce81c commit 42cc9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internet.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var internet = {
result = firstName + faker.random.array_element([".", "_"]) + lastName + faker.random.number(99);
break;
}
result = result.replace(/'/g, "");
result = result.toString().replace(/'/g, "");
result = result.replace(/ /g, "");
return result;
},
Expand Down

0 comments on commit 42cc9b2

Please sign in to comment.