File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -74843,6 +74843,7 @@ async function run() {
74843
74843
const err = error;
74844
74844
core.setFailed(err.message);
74845
74845
}
74846
+ process.exit();
74846
74847
}
74847
74848
async function saveCache2() {
74848
74849
const cachePaths = JSON.parse(core.getState("cache-paths"));
Original file line number Diff line number Diff line change @@ -91128,7 +91128,6 @@ async function run() {
91128
91128
} catch (error2) {
91129
91129
core8.setFailed(error2.message);
91130
91130
}
91131
- import_node_process4.default.exit();
91132
91131
}
91133
91132
run();
91134
91133
/*! Bundled license information:
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ async function run() {
12
12
const err = error as Error
13
13
core . setFailed ( err . message )
14
14
}
15
+ // Explicit process.exit() to not wait for hanging promises,
16
+ // see https://github.com/actions/setup-node/issues/878
17
+ process . exit ( )
15
18
}
16
19
17
20
async function saveCache ( ) {
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ async function run(): Promise<void> {
67
67
catch ( error : any ) {
68
68
core . setFailed ( error . message )
69
69
}
70
- // Explicit process.exit() to not wait for hanging promises,
71
- // see https://github.com/actions/setup-node/issues/878
72
- process . exit ( )
73
70
}
74
71
75
72
run ( )
You can’t perform that action at this time.
0 commit comments