Skip to content

Commit b16e6f1

Browse files
cexbrayatdgp1130
authored andcommitted
fix(@schematics/angular): remove extra space in standalone imports
1 parent 1b2b8d9 commit b16e6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';<% } %>
44
@Component({<% if(!skipSelector) {%>
55
selector: '<%= selector %>',<%}%><% if(standalone) {%>
66
standalone: true,
7-
imports: [CommonModule], <%}%><% if(inlineTemplate) { %>
7+
imports: [CommonModule],<%}%><% if(inlineTemplate) { %>
88
template: `
99
<p>
1010
<%= dasherize(name) %> works!

0 commit comments

Comments
 (0)