diff options
| author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2025-08-09 14:49:52 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-09 12:49:52 +0000 |
| commit | e631f6e0a2cc3ac15a7de4a21fc89b305737c8a0 (patch) | |
| tree | 64f414ee5465e172709d8bde7e0255226836a14a /src/modules | |
| parent | 67a65e1b57c17dd9c2c64cb57056b28fe73b32d7 (diff) | |
| download | faker-e631f6e0a2cc3ac15a7de4a21fc89b305737c8a0.tar.xz faker-e631f6e0a2cc3ac15a7de4a21fc89b305737c8a0.zip | |
chore(deps): update eslint (#3578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Shinigami92 <[email protected]>
Diffstat (limited to 'src/modules')
| -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; } |
