File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export class BazelProject {
5353 }
5454
5555 private buildCodeWorkspace ( modules : bazelmodule . BazelModule [ ] , folder : string ) {
56- const codeWorkspaceFile : vscodeworkspace . VsCodeWorkspace = new vscodeworkspace . VsCodeWorkspace ( modules ) ;
56+ const codeWorkspaceFile : vscodeworkspace . VsCodeWorkspace = new vscodeworkspace . VsCodeWorkspace ( folder , modules ) ;
5757 const vscodeWorkspace = path . join ( folder , this . codeWorkspaceFile ) ;
5858 const content : string = JSON . stringify ( codeWorkspaceFile , null , 2 ) ;
5959
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import * as bazelmodule from './bazelmodule';
33export class VsCodeWorkspace {
44 folders : VsCodePath [ ] ;
55 settings : any ;
6- constructor ( modules : bazelmodule . BazelModule [ ] ) {
6+ constructor ( folder : string , modules : bazelmodule . BazelModule [ ] ) {
77 this . folders = [ ] ;
8- this . folders . push ( { path : '.' } ) ;
8+ this . folders . push ( { path : folder } ) ;
99 this . settings = { } ;
1010 this . settings [ 'files.exclude' ] = this . buildExcludes ( modules ) ;
1111 }
You can’t perform that action at this time.
0 commit comments