提交 5bd5e07c 编写于 作者: R Ramya Achutha Rao

Use empty object when tokenColorCustomizations setting is null Fixes #40339

上级 6c8f9d8a
......@@ -87,7 +87,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
}
private get tokenColorCustomizations(): ITokenColorCustomizations {
return this.configurationService.getValue<ITokenColorCustomizations>(CUSTOM_EDITOR_COLORS_SETTING);
return this.configurationService.getValue<ITokenColorCustomizations>(CUSTOM_EDITOR_COLORS_SETTING) || {};
}
constructor(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册