Skip to content

Commit ecf0ccc

Browse files
clydinhansl
authored andcommitted
fix(@angular/cli): correct lint failure aggregation
1 parent 78d48be commit ecf0ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@angular/cli/tasks/lint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ export default Task.extend({
9393
.reduce((total, current) => {
9494
const failures = current.failures
9595
.filter(cf => !total.failures.some(ef => ef.equals(cf)));
96-
total.failures = total.failures.concat(...failures);
96+
total.failures = total.failures.concat(failures);
9797

9898
if (current.fixes) {
99-
total.fixes = (total.fixes || []).concat(...current.fixes);
99+
total.fixes = (total.fixes || []).concat(current.fixes);
100100
}
101101

102102
if (current.errorCount !== undefined) {

0 commit comments

Comments
 (0)