mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
another try, #41408
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user