Skip to content

Commit 8f558ee

Browse files
authored
fix(material/schematics): fix typo in warning (#21754)
Fixes a typo in one of the warnings and adds a link with more info. Fixes #21705.
1 parent d7ec42c commit 8f558ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/material/schematics/ng-add/setup-project.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ function addMaterialAppStyles(options: Schema) {
104104

105105
if (!styleFilePath) {
106106
logger.error(`Could not find the default style file for this project.`);
107-
logger.info(`Please consider manually setting up the Roboto font in your CSS.`);
107+
logger.info(`Consider manually adding the Roboto font to your CSS.`);
108+
logger.info(`More information at https://fonts.google.com/specimen/Roboto`);
108109
return;
109110
}
110111

@@ -113,7 +114,7 @@ function addMaterialAppStyles(options: Schema) {
113114
if (!buffer) {
114115
logger.error(`Could not read the default style file within the project ` +
115116
`(${styleFilePath})`);
116-
logger.info(`Please consider manually setting up the Robot font.`);
117+
logger.info(`Please consider manually setting up the Roboto font.`);
117118
return;
118119
}
119120

0 commit comments

Comments
 (0)