mirror of
https://github.com/actions/cache.git
synced 2026-05-07 07:37:30 +08:00
Exit after run to prevent hanging if there are active listeners
This commit is contained in:
Vendored
+48565
-4238
File diff suppressed because one or more lines are too long
Vendored
+48595
-4268
File diff suppressed because one or more lines are too long
+1
-1
@@ -60,6 +60,6 @@ async function run(): Promise<void> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run().then(() => process.exit(0));
|
||||||
|
|
||||||
export default run;
|
export default run;
|
||||||
|
|||||||
+1
-1
@@ -51,6 +51,6 @@ async function run(): Promise<void> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run().then(() => process.exit(0));
|
||||||
|
|
||||||
export default run;
|
export default run;
|
||||||
|
|||||||
Reference in New Issue
Block a user