Skip to content

Commit

Permalink
fix: add dependent projects to workspace file
Browse files Browse the repository at this point in the history
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
  • Loading branch information
vitaliy-guliy committed Nov 16, 2023
1 parent 28f257a commit 52c9909
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions launcher/src/code-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class CodeWorkspace {
return;
}

// Folowing flow is common for default workspce location and
// Following flow is common for default workspce location and
// for custom workspace file defined in env.VSCODE_DEFAULT_WORKSPACE
const alternativePath = env.VSCODE_DEFAULT_WORKSPACE;

Expand All @@ -60,12 +60,9 @@ export class CodeWorkspace {
// synchronize dependent projects
this.synchronizeProjects(workspace, devfile.dependentProjects);

// synchronize starter proects
// synchronize starter projects
this.synchronizeProjects(workspace, devfile.starterProjects);

// check for `${env.PROJECTS_ROOT}/.vscode/settings.json`
// copy all the settings to workspace file

// write workspace file
await this.writeWorkspaceFile(workspace, alternativePath);
} catch (err) {
Expand Down

0 comments on commit 52c9909

Please sign in to comment.