Removed wrong await

This commit is contained in:
Pax1601 2023-12-20 18:02:05 +01:00
parent 1aec7f8081
commit 6b12000979

View File

@ -26,9 +26,6 @@ if (fs.existsSync(args["config"])) {
clientPort = json["client"]["port"];
} else {
console.log("Failed to read config, aborting!");
/* Wait a bit before closing the window */
await new Promise(resolve => setTimeout(resolve, 3000));
return;
}