mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
Fix #38157
This commit is contained in:
parent
dc46751d22
commit
a91380c3d4
2 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue