diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/internet/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/internet/index.ts b/src/modules/internet/index.ts index 2afdef39..bcf28909 100644 --- a/src/modules/internet/index.ts +++ b/src/modules/internet/index.ts @@ -365,7 +365,7 @@ export class InternetModule extends ModuleBase { return charCode.toString(36); }) .join(''); - result = result.toString().replaceAll("'", ''); + result = result.replaceAll("'", ''); result = result.replaceAll(' ', ''); return result; @@ -423,7 +423,7 @@ export class InternetModule extends ModuleBase { ]; let result = this.faker.helpers.arrayElement(strategies)(); - result = result.toString().replaceAll("'", ''); + result = result.replaceAll("'", ''); result = result.replaceAll(' ', ''); return result; } |
