Skip to content

Commit bb834c7

Browse files
committed
fix(@schematics/angular): remove extra comma in component schematic
This was introduced by angular#13690
1 parent 78f5c28 commit bb834c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/application/other-files/app.component.ts.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { Component<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%> } fro
2828
`,<% } else { %>
2929
templateUrl: './app.component.html',<% } if(inlineStyle) { %>
3030
styles: []<% } else { %>
31-
styleUrls: ['./app.component.<%= styleExt %>']<% } %>,<% if(!!viewEncapsulation) { %>,
31+
styleUrls: ['./app.component.<%= styleExt %>']<% } %><% if(!!viewEncapsulation) { %>,
3232
encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } %>
3333
})
3434
export class AppComponent {

0 commit comments

Comments
 (0)