mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(compiler): format update (#13506)
This commit is contained in:
parent
732f446ad2
commit
5b6e8ea3ec
1 changed files with 2 additions and 1 deletions
|
|
@ -253,7 +253,8 @@ export class CompileMetadataResolver {
|
|||
// Directive
|
||||
if (!selector) {
|
||||
this._reportError(
|
||||
new SyntaxError(`Directive ${stringifyType(directiveType)} has no selector, please add it!`),
|
||||
new SyntaxError(
|
||||
`Directive ${stringifyType(directiveType)} has no selector, please add it!`),
|
||||
directiveType);
|
||||
selector = 'error';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue