Skip to content

Commit 5741bd7

Browse files
committed
fix(@angular/cli): change component blueprint to pass tests when using --inline-template
* note: this error already came up in angular#6538, so I'm just fixing the title so that the PR would not cause any merge-conflicts
1 parent d6a6be9 commit 5741bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Component } from '@angular/core';
44
selector: '<%= prefix %>-root',<% if (inlineTemplate) { %>
55
template: `
66
<h1>
7-
{{title}}
7+
Welcome to {{title}}!!
88
</h1><% if (routing) { %>
99
<router-outlet></router-outlet><% } %>
1010
`,<% } else { %>

0 commit comments

Comments
 (0)