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
Generated Vendored
+2
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() {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
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)
}
}