Qodana: fix async warnings

This commit is contained in:
Rory& committed 2026-03-14 03:26:26 +01:00
1 parent 589dd7dea7
commit b5e63c06b6
26 files changed
+41 -42

No files matched your search

+1 -1
View File
@@ -256,4 +256,4 @@ async function main() {
);
}
main();
main().then(() => {});
+1 -1
View File
@@ -380,4 +380,4 @@ function columnizedObjectDiff(a, b, trackEqual = false) {
return diffs;
}
main();
main().then(() => {});
+1 -1
View File
@@ -13,4 +13,4 @@ async function main() {
console.log((await ret.json()).token);
}
main();
main().then(() => {});
+2 -2
View File
@@ -34,9 +34,9 @@ async function main() {
captcha_key: null,
}),
headers: { "content-type": "application/json" },
});
}).then(() => {});
console.log(i);
}
}
main();
main().then(() => {});
+1 -1
View File
@@ -34,5 +34,5 @@ const { initDatabase } = require("..");
console.log("synchronising");
await db.synchronize();
console.log("done");
db.destroy();
await db.destroy();
})();