fix: exit direct upload cors script
This commit is contained in:
parent
9328efa701
commit
15a08e6d65
@ -212,7 +212,11 @@ async function main() {
|
||||
});
|
||||
}
|
||||
|
||||
main().catch((error) => {
|
||||
main()
|
||||
.then(() => {
|
||||
process.exit(0);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("[direct-upload-cors] failed:", error);
|
||||
process.exitCode = 1;
|
||||
});
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user