Skip to content

Commit

Permalink
Update examples/workflow-test/scripts/repositories.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Haydar Metin <hmetin@eclipsesource.com>
  • Loading branch information
tortmayr and haydar-metin authored Jul 16, 2024
1 parent 469054f commit 538f632
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/workflow-test/scripts/repositories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ function buildClient(options: GlobalOptions): void {
}

function buildTheia(options: GlobalOptions): void {
exec('yarn && yarn browser build', [], { cwd: repositoryFolder(options.folder, theiaRepository) });
if(exec('yarn', [], { cwd: repositoryFolder(options.folder, theiaRepository)})) {
exec('yarn', ['browser', 'build'], { cwd: repositoryFolder(options.folder, theiaRepository) });
}
}

function buildVSCode(options: GlobalOptions): void {
Expand Down

0 comments on commit 538f632

Please sign in to comment.