Skip to content

fix: prevent TypeError when rounding None value#2826

Open
xiaomx32 wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
xiaomx32:main
Open

fix: prevent TypeError when rounding None value#2826
xiaomx32 wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
xiaomx32:main

Conversation

@xiaomx32
Copy link

  • add a null check for port.getValue() before calling round()

- add a null check for `port.getValue()` before calling `round()`
@linux-foundation-easycla
Copy link

CLA Not Signed

@jstone-lucasfilm
Copy link
Member

This looks promising, thanks @xiaomx32, and make sure to follow the instructions in #2826 (comment) to resolve the EasyCLA warning.

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.

2 participants