Skip to content

Avoid exception when text is undefined - #24

Open
isao wants to merge 1 commit into
semanticpixel:masterfrom
isao:avoid-exception-on-undefined-text
Open

isao wants to merge 1 commit into
semanticpixel:masterfrom
isao:avoid-exception-on-undefined-text

Conversation

@isao

@isao isao commented Apr 23, 2019 •

Copy link
Copy Markdown

Hi Luis, thanks for your handy library!

Our CI tests failed because missing mock data for the text property. Not sure if
this would happen often in real usage, but on the theory line-clamp should not
throw on bad input, I made a small change to handle the situation.

Our CI tests failed because missing mock data for the text property. Not sure if
this would ever happen in real usage, but on the theory `line-clamp` should not
throw on bad input, I made a small change to handle the situation.

This branch has not been deployed

No deployments
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