diff options
| author | ST-DDT <[email protected]> | 2023-11-07 17:42:14 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-07 16:42:14 +0000 |
| commit | e0ba50b37e438503ed1899bff35afc92b4f8f49c (patch) | |
| tree | 20314c515bcddb3698c93a46168715ffc5a98ab4 /src/modules/finance | |
| parent | 8542ef30bd4eda3d9f04db2c4a79abf0369d57c3 (diff) | |
| download | faker-e0ba50b37e438503ed1899bff35afc92b4f8f49c.tar.xz faker-e0ba50b37e438503ed1899bff35afc92b4f8f49c.zip | |
fix(finance): maskedNumber has incorrect defaults (#2494)
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 ddf3fffe..4e0d80ed 100644 --- a/src/modules/finance/index.ts +++ b/src/modules/finance/index.ts @@ -345,7 +345,7 @@ export class FinanceModule extends ModuleBase { options = { length: options }; } - const { ellipsis, length = 4, parens } = options; + const { ellipsis = true, length = 4, parens = true } = options; let template = this.faker.string.numeric({ length }); |
