Skip to content

Commit 721b690

Browse files
cexbrayatalan-agius4
authored andcommitted
refactor(@angular/cli): use .html as template extension for mcp modernize tool
`.ng.html` is not used unless `ngHtml` is set to true when generating a component. but the current style guide does not recommend to use `.ng.html`.
1 parent 61d2e67 commit 721b690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/cli/src/commands/mcp/tools/modernize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const MODERNIZE_TOOL = declareTool({
135135
'<Use Cases>\n' +
136136
'* After generating new code: Run this tool immediately after creating new Angular components, directives, ' +
137137
'or services to ensure they adhere to modern standards.\n' +
138-
'* On existing code: Apply to existing TypeScript files (.ts) and Angular templates (.ng.html) to update ' +
138+
'* On existing code: Apply to existing TypeScript files (.ts) and Angular templates (.html) to update ' +
139139
'them with the latest features, such as the new built-in control flow syntax.\n\n' +
140140
'* When the user asks for a specific transformation: When the transformation list is populated, ' +
141141
'these specific ones will be ran on the inputs.\n' +

0 commit comments

Comments
 (0)