Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/angular/cli/src/commands/mcp/tools/modernize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export async function runModernization(input: ModernizeInput, host: Host) {
if (transformationNames.length === 0) {
return createStructuredContentOutput({
instructions: [
'See https://angular.dev/best-practices for Angular best practices. ' +
'You can call this tool if you have specific transformation you want to run.',
'Call this tool with the specific transformations you want to run. See the tool description for more info. Also call the' +
' `get_best_practices` tool for general Angular best practices.',
],
});
}
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/cli/src/commands/mcp/tools/modernize_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ describe('Modernize Tool', () => {

expect(mockHost.runCommand).not.toHaveBeenCalled();
expect(structuredContent?.instructions).toEqual([
'See https://angular.dev/best-practices for Angular best practices. ' +
'You can call this tool if you have specific transformation you want to run.',
'Call this tool with the specific transformations you want to run. See the tool description for more info. Also call the' +
' `get_best_practices` tool for general Angular best practices.',
]);
});

Expand Down