Skip to content

fix: Await lint() to ensure errors are caught correctly#28

Merged
benhodgson87 merged 1 commit into
mainfrom
fix/unhandled-lint-rejection
Jun 15, 2026
Merged

fix: Await lint() to ensure errors are caught correctly#28
benhodgson87 merged 1 commit into
mainfrom
fix/unhandled-lint-rejection

Conversation

@benhodgson87

Copy link
Copy Markdown
Owner

Unhandled promise rejections from async errors inside lint() were not being caught by the surrounding try/catch. Wrapping in an async IIFE ensures all errors propagate to core.setFailed as intended.

Unhandled promise rejections from async errors inside lint() were not
being caught by the surrounding try/catch. Wrapping in an async IIFE
ensures all errors propagate to core.setFailed as intended.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@benhodgson87 benhodgson87 merged commit c7d49ab into main Jun 15, 2026
2 checks passed
This was referenced Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant