From 2e575284ae97f16124117f8cdede5b5965ae708b Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Sat, 30 Jan 2021 13:25:50 +0100 Subject: [PATCH] fix(material/schematics): fix typo in warning Fixes a typo in one of the warnings and adds a link with more info. Fixes #21705. --- src/material/schematics/ng-add/setup-project.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/material/schematics/ng-add/setup-project.ts b/src/material/schematics/ng-add/setup-project.ts index 0c9097593425..a1721cd5012e 100644 --- a/src/material/schematics/ng-add/setup-project.ts +++ b/src/material/schematics/ng-add/setup-project.ts @@ -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; } @@ -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; }