Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Fallback to empty string if object.description is undefined. #280

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

changsi-an
Copy link
Contributor

EDP might return a property entry which does not have a description field. Hence we default that to empty string, then we won't hit Null-reference error in lines like below:

object.description.indexOf('\n'); 

@roblourens roblourens merged commit 85d8180 into microsoft:master Feb 8, 2018
@roblourens roblourens added this to the February 2018 milestone Mar 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants