Skip to content

fix:hermes-config-undefined-crash#122

Open
ashishprajapati22 wants to merge 1 commit into
Raja0sama:mainfrom
ashishprajapati22:bugfix/hermes-config-undefined-crash
Open

fix:hermes-config-undefined-crash#122
ashishprajapati22 wants to merge 1 commit into
Raja0sama:mainfrom
ashishprajapati22:bugfix/hermes-config-undefined-crash

Conversation

@ashishprajapati22

Copy link
Copy Markdown

Fixes #120
What does this pr do?
The register function destructured config directly from the function parameter, which causes unsafe destructuring when the argument is undefined.

Fix
Safely handle missing arguments by providing defaults before destructuring config.

@vercel

vercel Bot commented Dec 17, 2025

Copy link
Copy Markdown

@ashishprajapati22 is attempting to deploy a commit to the Raja Osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

ERROR TypeError: Cannot read property 'config' of undefined, js engine: hermes

1 participant