feat(dart/transform): Promote missing Directive warning to error
Closes #6519 Closes #6568
This commit is contained in:
parent
c72ed991ad
commit
47a3b4d56b
@ -130,7 +130,7 @@ class _CompileDataCreator {
|
|||||||
} else if (depNgMeta.aliases.containsKey(dep.name)) {
|
} else if (depNgMeta.aliases.containsKey(dep.name)) {
|
||||||
resolvedMetadata.addAll(depNgMeta.flatten(dep.name));
|
resolvedMetadata.addAll(depNgMeta.flatten(dep.name));
|
||||||
} else {
|
} else {
|
||||||
log.warning(
|
log.error(
|
||||||
'Could not find Directive/Pipe entry for $dep. '
|
'Could not find Directive/Pipe entry for $dep. '
|
||||||
'Please be aware that Dart transformers have limited support for '
|
'Please be aware that Dart transformers have limited support for '
|
||||||
'reusable, pre-defined lists of Directives/Pipes (aka '
|
'reusable, pre-defined lists of Directives/Pipes (aka '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user