mirror of
https://github.com/actions/setup-node.git
synced 2026-02-15 02:14:44 +08:00
Merge 7d1c5630d8 into 48b90677b6
This commit is contained in:
@@ -76,6 +76,10 @@ export async function run() {
|
||||
} catch (err) {
|
||||
core.setFailed((err as Error).message);
|
||||
}
|
||||
|
||||
// Explicit process.exit() to not wait for hanging promises,
|
||||
// see https://github.com/actions/setup-node/issues/878
|
||||
process.exit();
|
||||
}
|
||||
|
||||
function resolveVersionInput(): string {
|
||||
|
||||
Reference in New Issue
Block a user