提交 a91380c3 编写于 作者: S Sandeep Somavarapu

Fix #38157

上级 dc46751d
......@@ -198,8 +198,9 @@ export function getExcludes(configuration: ISearchConfiguration): glob.IExpressi
}
let allExcludes: glob.IExpression = Object.create(null);
allExcludes = objects.mixin(allExcludes, fileExcludes);
allExcludes = objects.mixin(allExcludes, searchExcludes, true);
// clone the config as it could be frozen
allExcludes = objects.mixin(allExcludes, objects.clone(fileExcludes));
allExcludes = objects.mixin(allExcludes, objects.clone(searchExcludes), true);
return allExcludes;
}
......
......@@ -174,7 +174,7 @@ export class EditorPart extends Part implements IEditorPart, IEditorGroupService
]
}
*/
this.telemetryService.publicLog('workbenchEditorConfiguration', editorConfig);
this.telemetryService.publicLog('workbenchEditorConfiguration', objects.clone(editorConfig)); // Clone because telemetry service will modify the passed data by adding more details.
} else {
this.tabOptions = {
previewEditors: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册