Skip to content

Commit

Permalink
Revert "add 'configuration' (read uri/path) of workspace config file, m…
Browse files Browse the repository at this point in the history
…icrosoft#41408"

This reverts commit 3ecef8c.
  • Loading branch information
joaomoreno committed Jan 23, 2018
1 parent 0583f92 commit 1cacde3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/vs/platform/workspace/common/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class Workspace implements IWorkspace {
}

public toJSON(): IWorkspace {
return { id: this.id, folders: this.folders, name: this.name, configuration: this.configuration };
return { id: this.id, folders: this.folders, name: this.name };
}
}

Expand Down
1 change: 0 additions & 1 deletion src/vs/workbench/api/node/extHost.protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export interface IWorkspaceData {
id: string;
name: string;
folders: { uri: UriComponents, name: string, index: number }[];
configuration: UriComponents;
}

export interface IInitData {
Expand Down
2 changes: 0 additions & 2 deletions src/vs/workbench/api/node/extHostExtensionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { Barrier } from 'vs/base/common/async';
import { ILogService } from 'vs/platform/log/common/log';
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
import { ExtHostLogService } from 'vs/workbench/api/node/extHostLogService';
import URI from 'vs/base/common/uri';

class ExtensionMemento implements IExtensionMemento {

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

0 comments on commit 1cacde3

Please sign in to comment.