aboutsummaryrefslogtreecommitdiff
path: root/src/modules/finance
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/finance')
-rw-r--r--src/modules/finance/index.ts2
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 {