Cannot read property 'light' of null. Fixes #38750

This commit is contained in:
Martin Aeschlimann 2017-11-23 08:44:35 +01:00
parent eb755a34bd
commit caf80525c2

View file

@ -35,7 +35,7 @@ export class CodeEditorServiceImpl extends AbstractCodeEditorService {
styleSheet: this._styleSheet,
key: key,
parentTypeKey: parentTypeKey,
options: options
options: options || Object.create(null)
};
if (!parentTypeKey) {
provider = new DecorationTypeOptionsProvider(this._themeService, providerArgs);