diff options
| author | Lucas <[email protected]> | 2024-04-26 01:14:45 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-26 08:14:45 +0200 |
| commit | 1f7568ab1a7010c7f9c713f4ac4c2d5e0cfb350b (patch) | |
| tree | 547d7db3d40d268efc737a31ad430a1d6544704c /src/modules | |
| parent | 16ba43a6a4d1c93ac588c6b4c20b8c2a40213bdb (diff) | |
| download | faker-1f7568ab1a7010c7f9c713f4ac4c2d5e0cfb350b.tar.xz faker-1f7568ab1a7010c7f9c713f4ac4c2d5e0cfb350b.zip | |
fix(vehicle): Make VIN number generation more accurate (#2765)
Co-authored-by: DivisionByZero <[email protected]>
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/vehicle/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/vehicle/index.ts b/src/modules/vehicle/index.ts index e47b7b05..d032465a 100644 --- a/src/modules/vehicle/index.ts +++ b/src/modules/vehicle/index.ts @@ -96,7 +96,7 @@ export class VehicleModule extends ModuleBase { length: 1, casing: 'upper', exclude, - })}${this.faker.number.int({ min: 10000, max: 99999 })}`; // return five digit # + })}${this.faker.string.numeric({ length: 5, allowLeadingZeros: true })}`; } /** |
