mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
break
This commit is contained in:
1 parent
55deb30607
commit
a8e8d20cf1
1 file changed
+4
-2
@@ -24,7 +24,10 @@ while (true) {
|
|||||||
)}/dlc/s${currentVersion}_${patchIndex}.yaml`,
|
)}/dlc/s${currentVersion}_${patchIndex}.yaml`,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (response.status === 200) {
|
console.log(patchIndex, response.status)
|
||||||
|
|
||||||
|
if (!response.ok) break;
|
||||||
|
|
||||||
console.log(`Applying patch ${patchIndex}...`);
|
console.log(`Applying patch ${patchIndex}...`);
|
||||||
|
|
||||||
const data = parseYaml(await response.text());
|
const data = parseYaml(await response.text());
|
||||||
@@ -97,5 +100,4 @@ while (true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
patchIndex++;
|
patchIndex++;
|
||||||
} else break;
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user