Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Ensure messageOptions contains a value (not undefined) #235

Merged
merged 1 commit into from
May 17, 2017

Conversation

jeffyoung
Copy link
Contributor

If we don't give messageOptions a default value, we can run into issues like this (shown on a French OS):

image

'undefined is not iterable' occurs because messageOptions is undefined and the showErrorMessage tries to iterate over it.

Copy link
Member

@jpricket jpricket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeffyoung jeffyoung merged commit 8d6d32f into master May 17, 2017
@jeffyoung jeffyoung deleted the jeyou/fix-nre-in-tfvcerror branch May 17, 2017 15:31
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.

None yet

3 participants