提交 da0b1de5 编写于 作者: J Johannes Rieken

assert that there is a configuration

上级 259a8ab5
......@@ -5,6 +5,7 @@
'use strict';
import {clone} from 'vs/base/common/objects';
import {illegalState} from 'vs/base/common/errors';
import {IDisposable, dispose} from 'vs/base/common/lifecycle';
import {IThreadService, Remotable} from 'vs/platform/thread/common/thread';
import {IConfigurationService} from 'vs/platform/configuration/common/configuration';
......@@ -34,7 +35,7 @@ export class ExtHostConfiguration {
public getConfiguration(section?: string): WorkspaceConfiguration {
if (!this._hasConfig) {
return;
throw illegalState('missing config');
}
const config = section
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册