Set error type to any

This commit is contained in:
Peter Evans
2021-09-02 13:35:30 +09:00
parent 48ba398488
commit 1d7df303a4
3 changed files with 6746 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ async function run(): Promise<void> {
event_type: inputs.eventType,
client_payload: JSON.parse(inputs.clientPayload)
})
} catch (error) {
} catch (error: any) {
core.debug(inspect(error))
if (error.status == 404) {
core.setFailed(