Skip to content

Commit 2c2d7e6

Browse files
alan-agius4josephperrott
authored andcommitted
fix(ng-dev): use spread operator for bazel build targets to handle spaces in paths correctly
This is needed as shell has been disabled.
1 parent 51470b3 commit 2c2d7e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ng-dev/misc/generated-files/update-generated-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function updateGeneratedFileTargets(): Promise<void> {
4242
spinner.update(`Found ${targets.length} generated file targets to update`);
4343

4444
// Build all of the generated file targets in parallel.
45-
await ChildProcess.spawn(getBazelBin(), ['build', targets.join(' ')], {mode: 'silent'});
45+
await ChildProcess.spawn(getBazelBin(), ['build', ...targets], {mode: 'silent'});
4646

4747
// Individually run the generated file update targets.
4848
for (let idx = 0; idx < targets.length; idx++) {

0 commit comments

Comments
 (0)