From d72479b628bddd1fb5364dc116ccb1fb9094e1e4 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 28 May 2019 20:30:33 +0200 Subject: [PATCH] docs(core): template-var-assignment schematic should link to deprecation guide (#30702) Instead of linking to a markdown file explaining what the migration warnings are about, we should link to the deprecation guide which now also contains an entry for that schematic. This makes the deprecation explanations consistent and more centralized. PR Close #30702 --- .../schematics/migrations/template-var-assignment/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/schematics/migrations/template-var-assignment/index.ts b/packages/core/schematics/migrations/template-var-assignment/index.ts index 16cbf4b056..e6b0ddef48 100644 --- a/packages/core/schematics/migrations/template-var-assignment/index.ts +++ b/packages/core/schematics/migrations/template-var-assignment/index.ts @@ -19,8 +19,7 @@ import {analyzeResolvedTemplate} from './analyze_template'; type Logger = logging.LoggerApi; -const README_URL = - 'https://github.com/angular/angular/tree/master/packages/core/schematics/migrations/template-var-assignment/README.md'; +const README_URL = 'https://v8.angular.io/guide/deprecations#cannot-assign-to-template-variables'; const FAILURE_MESSAGE = `Found assignment to template variable.`; /** Entry point for the V8 template variable assignment schematic. */