fix: replace use of any type (#1251)
This commit is contained in:
parent
171dd555b9
commit
3f9dbd5a76
6 changed files with 47 additions and 23 deletions
src
|
@ -30,8 +30,8 @@ async function run(): Promise<void> {
|
|||
core.debug(`Inputs: ${inspect(inputs)}`)
|
||||
|
||||
await createPullRequest(inputs)
|
||||
} catch (error: any) {
|
||||
core.setFailed(error.message)
|
||||
} catch (error) {
|
||||
core.setFailed(utils.getErrorMessage(error))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue