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:
parent
b6c63504ea
commit
f984213bb5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user