Force exit on error
This commit is contained in:
+2
@@ -52164,6 +52164,8 @@ async function run() {
|
|||||||
else {
|
else {
|
||||||
coreExports.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`);
|
coreExports.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`);
|
||||||
}
|
}
|
||||||
|
// Force exit to prevent hanging on open connections
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function tempDir() {
|
function tempDir() {
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -96,6 +96,9 @@ export async function run(): Promise<void> {
|
|||||||
} else {
|
} else {
|
||||||
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`)
|
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Force exit to prevent hanging on open connections
|
||||||
|
process.exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user