Empty Comment Thread Factory works

This commit is contained in:
Peng Lyu
2019-04-28 14:23:12 -07:00
parent 6a4805546a
commit 67fc5ba4e1

View File

@@ -379,7 +379,7 @@ export class MainThreadCommentController {
commentingRanges: commentingRanges ?
{
resource: resource, ranges: commentingRanges, newCommentThreadCallback: async (uri: UriComponents, range: IRange) => {
await this._proxy.$createNewCommentWidgetCallback(this.handle, uri, range, token);
return await this._proxy.$createNewCommentWidgetCallback(this.handle, uri, range, token);
}
} : [],
draftMode: modes.DraftMode.NotSupported