chore: fix check script

This commit is contained in:
GyDi 2022-11-22 23:01:04 +08:00
parent 1550d528bd
commit 24f4e8ab99
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -270,7 +270,7 @@ const tasks = [
async function runTask() {
const task = tasks.shift();
if (!task) return;
if (task.winOnly && process.platform !== "win32") return;
if (task.winOnly && process.platform !== "win32") return runTask();
for (let i = 0; i < task.retry; i++) {
try {