Force exit on error

This commit is contained in:
Sean Goedecke
2025-08-04 22:40:30 +00:00
parent a6d2a86ab3
commit a620b9fa98
3 changed files with 6 additions and 1 deletions

2
dist/index.js generated vendored
View File

@@ -52164,6 +52164,8 @@ async function run() {
else {
coreExports.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`);
}
// Force exit to prevent hanging on open connections
process.exit(1);
}
}
function tempDir() {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -96,6 +96,9 @@ export async function run(): Promise<void> {
} else {
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`)
}
// Force exit to prevent hanging on open connections
process.exit(1)
}
}