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
This commit is contained in:
Paul Gschwendtner 2019-05-28 20:30:33 +02:00 committed by Matias Niemelä
parent dd0815095f
commit d72479b628
1 changed files with 1 additions and 2 deletions

View File

@ -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. */