fix: remove unused code (#2202)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack
2024-07-18 13:39:13 -06:00
committed by GitHub
parent dc82617b24
commit 6b2903bdce
4 changed files with 11 additions and 18 deletions

View File

@@ -291,11 +291,8 @@ export async function run(): Promise<void> {
}
}
/* istanbul ignore if */
if (!process.env.TESTING) {
// eslint-disable-next-line github/no-then
run().catch(e => {
core.setFailed(e.message || e)
process.exit(1)
})
}
// eslint-disable-next-line github/no-then
run().catch(e => {
core.setFailed(e.message || e)
process.exit(1)
})