提交 07618102 编写于 作者: R Rob Lourens

Fix search unit tests

上级 34b3302b
......@@ -810,7 +810,7 @@ export class SearchModel extends Disposable {
const options: IPatternInfo = objects.assign({}, this._searchQuery.contentPattern);
delete options.pattern;
const stats = completed.stats as ITextSearchStats;
const stats = completed && completed.stats as ITextSearchStats;
/* __GDPR__
"searchResultsShown" : {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册