ci: update pr action
This commit is contained in:
@@ -301,6 +301,7 @@ function log(message: string) {
|
||||
}
|
||||
function execSyncSafe(command: string, options?: Parameters<typeof execSync>[1]) {
|
||||
try {
|
||||
console.log(`Executing: ${command}`)
|
||||
execSync(command, options)
|
||||
} catch (error) {
|
||||
if (error instanceof Error) {
|
||||
@@ -317,5 +318,6 @@ function execSyncSafe(command: string, options?: Parameters<typeof execSync>[1])
|
||||
} else {
|
||||
console.error('An unexpected error occurred:', error)
|
||||
}
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user