fix state helper

This commit is contained in:
ruki
2025-01-14 22:48:20 +08:00
Unverified
parent 31f247c6c5
commit 086cd7331c
2 changed files with 2 additions and 30 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ async function cleanup(): Promise<void> {
}
if (!stateHelper.IsPost) {
run().catch((e: Error) => core.error(e));
await run().catch((e: Error) => core.error(e));
}
else {
cleanup().catch((e: Error) => core.error(e));
await cleanup().catch((e: Error) => core.error(e));
}