From 538f632e2035a0c6c24843e130922f5dcbae4f76 Mon Sep 17 00:00:00 2001 From: Tobias Ortmayr Date: Tue, 16 Jul 2024 20:12:13 +0200 Subject: [PATCH] Update examples/workflow-test/scripts/repositories.ts Co-authored-by: Haydar Metin --- examples/workflow-test/scripts/repositories.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/workflow-test/scripts/repositories.ts b/examples/workflow-test/scripts/repositories.ts index 027c037..6775b99 100644 --- a/examples/workflow-test/scripts/repositories.ts +++ b/examples/workflow-test/scripts/repositories.ts @@ -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 {