Skip to content

Commit

Permalink
fix(material/schematics): fix typo in warning
Browse files Browse the repository at this point in the history
Fixes a typo in one of the warnings and adds a link with more info.

Fixes angular#21705.
  • Loading branch information
crisbeto committed Jan 30, 2021
1 parent 2f61895 commit 2e57528
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/material/schematics/ng-add/setup-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ function addMaterialAppStyles(options: Schema) {

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

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

Expand Down

0 comments on commit 2e57528

Please sign in to comment.