This commit is contained in:
Histmy 2022-12-24 23:56:56 +01:00
parent a4aaee61ac
commit d015f4f595

View File

@ -11,7 +11,7 @@ createServer((_, res) => {
for (const key in customAliasy) { for (const key in customAliasy) {
const i = vsechnyKomandy.findIndex(komand => komand.name == customAliasy[key]); const i = vsechnyKomandy.findIndex(komand => komand.name == customAliasy[key]);
if (i == -1) { log(new Error(`ičko neexistuje. hledal sem "${key}"`)); continue; } if (i == -1) continue;
(vsechnyKomandy[i].als ??= []).push(key); (vsechnyKomandy[i].als ??= []).push(key);
} }