1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Removed uneeded promise

This commit is contained in:
DJ1TJOO 2021-03-16 10:11:43 +01:00
parent b6c63504ea
commit f984213bb5

View File

@ -286,14 +286,7 @@ async function performFsJob(job) {
}
}
ipcMain.handle(
"fs-job",
(event, arg) =>
new Promise(async (resolve, reject) => {
const result = await performFsJob(arg);
resolve(result);
})
);
ipcMain.handle("fs-job", (event, arg) => performFsJob(arg));
steam.init(isDev);
steam.listen();