Skip to content

fix(cli): prevent crash on non-string YAML properties (Issue #75)#79

Open
SyedaQurratAI wants to merge 1 commit into
google-labs-code:mainfrom
SyedaQurratAI:main
Open

fix(cli): prevent crash on non-string YAML properties (Issue #75)#79
SyedaQurratAI wants to merge 1 commit into
google-labs-code:mainfrom
SyedaQurratAI:main

Conversation

@SyedaQurratAI
Copy link
Copy Markdown

Fixed the "raw.match is not a function" crash (Issue #75) by adding type guards for non-string YAML properties.

Changes:

Added typeof checks in parseDimensionParts and parseCssColor.

Updated ModelHandler to handle numeric/boolean values gracefully.

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