Skip to content

Commit 0701afc

Browse files
alan-agius4mgechev
authored andcommitted
fix(@angular-devkit/build-angular): browser builder should not swollow error messages
Closes #14813
1 parent c7135fa commit 0701afc

File tree

1 file changed

+2
-1
lines changed
  • packages/angular_devkit/build_angular/src/karma

1 file changed

+2
-1
lines changed

packages/angular_devkit/build_angular/src/karma/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { BuilderContext, BuilderOutput, createBuilder } from '@angular-devkit/architect';
99
import { resolve } from 'path';
1010
import { Observable, from } from 'rxjs';
11-
import { switchMap } from 'rxjs/operators';
11+
import { defaultIfEmpty, switchMap } from 'rxjs/operators';
1212
import * as webpack from 'webpack';
1313
import {
1414
getCommonConfig,
@@ -128,6 +128,7 @@ export function execute(
128128
}
129129
};
130130
})),
131+
defaultIfEmpty({ success: false }),
131132
);
132133
}
133134

0 commit comments

Comments
 (0)