Compare commits

..

No commits in common. "eef0fa6952ae69c69253ff0cb3f0dd1d1bf2c3f2" and "2229cdf20db1a98f9f76a99fa9d3f463cdf6d804" have entirely different histories.

View File

@ -67,11 +67,10 @@ export class RunnerCard {
private get paddedId(): string {
let id: string = this.id.toString();
if (id.length > 11) {
if (id.length > 12) {
throw new RunnerCardIdOutOfRangeError();
}
while (id.length < 11) { id = '0' + id; }
id = '2' + id;
while (id.length < 12) { id = '0' + id; }
return id;
}