chore: unwrap async function

This commit is contained in:
草鞋没号 committed 2021-11-23 09:55:28 +08:00
1 parent 41ad5614e9
commit 77f3e7fe0e
2 files changed
+8 -16

No files matched your search

+3 -9
View File
@@ -32,12 +32,6 @@ async function packElectron() {
})
}
; (async () => {
try {
await buildElectron()
await packElectron()
} catch (error) {
console.error(error)
process.exit(1)
}
})()
// bootstrap
await buildElectron()
await packElectron()