Updated default length
This commit is contained in:
1 file changed
+1
-1
@@ -67,7 +67,7 @@ export class RunnerCard {
|
||||
private get paddedId(): string {
|
||||
let id: string = this.id.toString();
|
||||
|
||||
if (id.length > 11) {
|
||||
if (id.length > 6) {
|
||||
throw new RunnerCardIdOutOfRangeError();
|
||||
}
|
||||
while (id.length < 6) { id = '0' + id; }
|
||||
|
||||
Reference in new issue
Block a user