Skip to content

Commit 3f70426

Browse files
ilirbeqiriijkrems
authored andcommitted
fix(@schematics/angular): remove additional newline after standalone property
(cherry picked from commit 4a5b76a)
1 parent 5bf5e5f commit 3f70426

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { <% if(changeDetection !== 'Default') { %>ChangeDetectionStrategy, <% }%
33
@Component({<% if(!skipSelector) {%>
44
selector: '<%= selector %>',<%}%><% if(standalone) {%>
55
imports: [],<%} else { %>
6-
standalone: false,
7-
<% }%><% if(inlineTemplate) { %>
6+
standalone: false,<% }%><% if(inlineTemplate) { %>
87
template: `
98
<p>
109
<%= dasherize(name) %> works!

0 commit comments

Comments
 (0)