Skip to content

Commit

Permalink
Use explicit any
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Jan 3, 2023
1 parent 039214a commit 9c4a92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Expand Up @@ -24,7 +24,6 @@
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-extraneous-class": "error",
"@typescript-eslint/no-for-in-array": "error",
"@typescript-eslint/no-inferrable-types": "error",
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Expand Up @@ -24,7 +24,7 @@ async function get_release_by_tag(
...repo(),
tag: tag
})
} catch (error) {
} catch (error: any) {
// If this returns 404, we need to create the release first.
if (error.status === 404) {
core.debug(
Expand Down Expand Up @@ -180,7 +180,7 @@ async function run(): Promise<void> {
)
core.setOutput('browser_download_url', asset_download_url)
}
} catch (error) {
} catch (error: any) {
core.setFailed(error.message)
}
}
Expand Down

0 comments on commit 9c4a92e

Please sign in to comment.