another try, #41408

This commit is contained in:
Johannes Rieken
2018-01-24 09:55:50 +01:00
parent acf50ea95a
commit 3dd2035b13
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ export interface IWorkspaceData {
id: string;
name: string;
folders: { uri: UriComponents, name: string, index: number }[];
configuration: UriComponents;
configuration?: UriComponents;
}
export interface IInitData {

View File

@@ -109,7 +109,7 @@ class ExtensionStoragePath {
join(storagePath, 'meta.json'),
JSON.stringify({
id: this._workspace.id,
configuration: URI.revive(this._workspace.configuration).toString(),
configuration: this._workspace.configuration && URI.revive(this._workspace.configuration).toString(),
name: this._workspace.name
}, undefined, 2)
);