diff options
| author | ST-DDT <[email protected]> | 2023-11-04 10:40:06 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-04 09:40:06 +0000 |
| commit | 358572d9e76f4cd22bfcb09c092a1eaf3a31f005 (patch) | |
| tree | 836d9b14d2c7e338610dc36073e799a7723af8c8 /src/modules/finance | |
| parent | 22003bbac9518befeaacfc75c9360a273f0ea6b4 (diff) | |
| download | faker-358572d9e76f4cd22bfcb09c092a1eaf3a31f005.tar.xz faker-358572d9e76f4cd22bfcb09c092a1eaf3a31f005.zip | |
infra(typescript-eslint): strict-type-checked (#2467)
Diffstat (limited to 'src/modules/finance')
| -rw-r--r-- | src/modules/finance/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/finance/index.ts b/src/modules/finance/index.ts index 2664cdfc..b381e16c 100644 --- a/src/modules/finance/index.ts +++ b/src/modules/finance/index.ts @@ -815,7 +815,7 @@ export class FinanceModule { const normalizedIssuer = issuer.toLowerCase(); if (normalizedIssuer in localeFormat) { format = this.faker.helpers.arrayElement(localeFormat[normalizedIssuer]); - } else if (/#/.test(issuer)) { + } else if (issuer.includes('#')) { // The user chose an optional scheme format = issuer; } else { |
