Skip to content

Add missing null check#16182

Merged
amcasey merged 1 commit into
microsoft:masterfrom
amcasey:MissingNullCheck
Jun 2, 2017
Merged

Add missing null check#16182
amcasey merged 1 commit into
microsoft:masterfrom
amcasey:MissingNullCheck

Conversation

@amcasey
Copy link
Copy Markdown
Member

@amcasey amcasey commented May 31, 2017

I stumbled upon this while debugging. If getChangesSinceVersion is called twice in a row, without a change occurring in between, updatedFileNames will be undefined the second time.

Reviewed offline by @mhegazy.

@amcasey amcasey requested a review from mhegazy May 31, 2017 23:35
@msftclas
Copy link
Copy Markdown

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@amcasey
Copy link
Copy Markdown
Member Author

amcasey commented May 31, 2017

Please also treat this as a review of the way I use PRs (missing labels, blank fields, etc).

@amcasey amcasey added the Domain: LS: TSServer Issues related to the TSServer label May 31, 2017
@amcasey
Copy link
Copy Markdown
Member Author

amcasey commented Jun 2, 2017

This has been reviewed offline, so I'm going to call it good.

@amcasey amcasey merged commit 856c0fd into microsoft:master Jun 2, 2017
@amcasey amcasey deleted the MissingNullCheck branch June 2, 2017 17:38
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Domain: LS: TSServer Issues related to the TSServer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants