Skip to content

Commit 34658e2

Browse files
fix in JSON serialization
1 parent 4473261 commit 34658e2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/workspace.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
import * as bazelmodule from './bazelmodule';
22

33
export class VsCodeWorkspace {
4-
private readonly filesExclude: string = 'files.exclude';
5-
private readonly currentFolder: string = '.';
6-
74
folders: VsCodePath[];
85
settings: any;
96
constructor(modules: bazelmodule.BazelModule[]) {
107
this.folders = [];
11-
this.folders.push({ path: this.currentFolder });
8+
this.folders.push({ path: '.' });
129
this.settings = {};
13-
this.settings[this.filesExclude] = this.buildExcludes(modules);
10+
this.settings['files.exclude'] = this.buildExcludes(modules);
1411
}
1512

1613
private buildExcludes(modules: bazelmodule.BazelModule[]): {} {

0 commit comments

Comments
 (0)