mirror of https://github.com/actions/cache.git
Exit after run to prevent hanging if there are active listeners
This commit is contained in:
parent
eed9cfe64d
commit
0b0791e3bf
File diff suppressed because one or more lines are too long
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;
|
export default run;
|
||||||
|
|
|
@ -51,6 +51,6 @@ async function run(): Promise<void> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run().then(() => process.exit(0));
|
||||||
|
|
||||||
export default run;
|
export default run;
|
||||||
|
|
Loading…
Reference in New Issue