pull/1961/head
Mikael Finstad 2024-04-10 22:32:22 +02:00
rodzic 079562e845
commit 4f4799b6f8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 25AB36E3E81CBC26
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -79,7 +79,7 @@ export async function parseCutlist(clStr: string) {
};
const iniValue = {};
const lines = clStr.split(/[\n\r]+/);
let section:string|null|undefined = null;
let section: string | null | undefined = null;
lines.forEach((line) => {
if (regex.comment.test(line)) {
return;
@ -109,7 +109,7 @@ export async function parseCutlist(clStr: string) {
let found = true;
let i = 0;
const cutArr:{start:number, end:number, name:string}[] = [];
const cutArr: { start: number, end: number, name: string }[] = [];
while (found) {
const cutEntry = iniValue[`Cut${i}`];
if (cutEntry) {