chore: unwrap async function
This commit is contained in:
1 parent
41ad5614e9
commit
77f3e7fe0e
2 files changed
+8
-16
No files matched your search
+3
-9
@@ -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()
|
||||
Reference in new issue
Block a user