mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-26 21:13:12 +00:00
Qodana: fix async warnings
This commit is contained in:
1 parent
589dd7dea7
commit
b5e63c06b6
26 files changed
+41
-42
No files matched your search
+1
-1
@@ -256,4 +256,4 @@ async function main() {
|
||||
);
|
||||
}
|
||||
|
||||
main();
|
||||
main().then(() => {});
|
||||
+1
-1
@@ -380,4 +380,4 @@ function columnizedObjectDiff(a, b, trackEqual = false) {
|
||||
return diffs;
|
||||
}
|
||||
|
||||
main();
|
||||
main().then(() => {});
|
||||
@@ -13,4 +13,4 @@ async function main() {
|
||||
console.log((await ret.json()).token);
|
||||
}
|
||||
|
||||
main();
|
||||
main().then(() => {});
|
||||
@@ -34,9 +34,9 @@ async function main() {
|
||||
captcha_key: null,
|
||||
}),
|
||||
headers: { "content-type": "application/json" },
|
||||
});
|
||||
}).then(() => {});
|
||||
console.log(i);
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
main().then(() => {});
|
||||
@@ -34,5 +34,5 @@ const { initDatabase } = require("..");
|
||||
console.log("synchronising");
|
||||
await db.synchronize();
|
||||
console.log("done");
|
||||
db.destroy();
|
||||
await db.destroy();
|
||||
})();
|
||||
Reference in new issue
Block a user