refactor(core): move schematic component template visitor to utils (#29713)

PR Close #29713
This commit is contained in:
Paul Gschwendtner
2019-04-04 14:04:31 +02:00
committed by Igor Minar
parent cc2e4b639b
commit b507d076be
5 changed files with 8 additions and 7 deletions

View File

@ -7,6 +7,7 @@ ts_library(
visibility = ["//packages/core/schematics/test:__pkg__"],
deps = [
"//packages/core/schematics/migrations/template-var-assignment",
"//packages/core/schematics/utils",
"//packages/core/schematics/utils/tslint",
"@npm//tslint",
],

View File

@ -11,7 +11,7 @@ import * as ts from 'typescript';
import {createHtmlSourceFile} from '../../../utils/tslint/tslint_html_source_file';
import {analyzeResolvedTemplate} from '../analyze_template';
import {NgComponentTemplateVisitor} from '../angular/ng_component_template';
import {NgComponentTemplateVisitor} from '../../../utils/ng_component_template';
const FAILURE_MESSAGE = 'Found assignment to template variable. This does not work with Ivy and ' +
'needs to be updated.';