mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-23 12:36:01 +01:00
Exit after run to prevent hanging if there are active listeners
This commit is contained in:
parent
eed9cfe64d
commit
0b0791e3bf
4 changed files with 97208 additions and 8554 deletions
52867
dist/restore/index.js
vendored
52867
dist/restore/index.js
vendored
File diff suppressed because one or more lines are too long
52913
dist/save/index.js
vendored
52913
dist/save/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -60,6 +60,6 @@ async function run(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
run();
|
||||
run().then(() => process.exit(0));
|
||||
|
||||
export default run;
|
||||
|
|
|
@ -51,6 +51,6 @@ async function run(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
run();
|
||||
run().then(() => process.exit(0));
|
||||
|
||||
export default run;
|
||||
|
|
Loading…
Reference in a new issue