Merge pull request #16182 from amcasey/MissingNullCheck

Add missing null check
This commit is contained in:
Andrew Casey authored and GitHub committed 2017-06-02 10:37:56 -07:00
commit 856c0fd3a8
1 file changed
+1 -1
+1 -1
View File
@@ -646,7 +646,7 @@ namespace ts.server {
const added: string[] = [];
const removed: string[] = [];
const updated: string[] = arrayFrom(updatedFileNames.keys());
const updated: string[] = updatedFileNames ? arrayFrom(updatedFileNames.keys()) : [];
forEachKey(currentFiles, id => {
if (!lastReportedFileNames.has(id)) {