Repository navigation
fix: remove unused catch variable in artifact verification - #1839
Conversation
Co-authored-by: Copilot App <[email protected]>
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Removed the unused
errorbinding from thecatchclause inscripts/verify-artifacts.js(line 76). The catch body only emits a literal string viaconsole.error, so the binding was genuinely dead; the optional catch bindingcatch {is valid ES2019 and preserves the size-limit failure handling (process.exit(1)) unchanged.
The change is a mechanical lint fix with no behavioral surface — verified the catch body does not reference error anywhere.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Summary
errorbinding fromscripts/verify-artifacts.jsFixes the pre-existing Biome autofix/lint failure identified in #1833.
Validation
npx --yes @biomejs/[email protected] check scripts/verify-artifacts.jsnode --check scripts/verify-artifacts.jsgit diff --check