Merge remote-tracking branch 'upstream/master' into rebornix/commentenhancement

This commit is contained in:
Peng Lyu
2019-03-06 14:54:42 -08:00
551 changed files with 7614 additions and 5953 deletions

View File

@@ -374,7 +374,7 @@ export class ExtHostCommentThread implements vscode.CommentThread {
}
getComment(commentId: string): vscode.Comment | undefined {
let comments = this._comments.filter(comment => comment.commentId === commentId);
const comments = this._comments.filter(comment => comment.commentId === commentId);
if (comments && comments.length) {
return comments[0];