From 2e766c909c4de60b3e6df211f33f60e0040d359e Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Thu, 12 Nov 2020 15:05:33 +0100 Subject: [PATCH] fix(@schematics/angular): remove trailing comma in karma conf We usually don't have trailing commas in the generated code of the CLI (and this one makes the linter/formatter angry). (cherry picked from commit 8e8a51c3fa95631448caeeca1842c5320d1743b0) --- .../schematics/angular/application/files/karma.conf.js.template | 2 +- .../schematics/angular/library/files/karma.conf.js.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/schematics/angular/application/files/karma.conf.js.template b/packages/schematics/angular/application/files/karma.conf.js.template index d9c1c9a1c255..9d541c810afa 100644 --- a/packages/schematics/angular/application/files/karma.conf.js.template +++ b/packages/schematics/angular/application/files/karma.conf.js.template @@ -21,7 +21,7 @@ module.exports = function (config) { reporters: [ { type: 'html' }, { type: 'text-summary' } - ], + ] }, reporters: ['progress', 'kjhtml'], port: 9876, diff --git a/packages/schematics/angular/library/files/karma.conf.js.template b/packages/schematics/angular/library/files/karma.conf.js.template index dc007689baf4..5b7c002e406d 100644 --- a/packages/schematics/angular/library/files/karma.conf.js.template +++ b/packages/schematics/angular/library/files/karma.conf.js.template @@ -21,7 +21,7 @@ module.exports = function (config) { reporters: [ { type: 'html' }, { type: 'text-summary' } - ], + ] }, reporters: ['progress', 'kjhtml'], port: 9876,