refactor(compiler): format update (#13506)
This commit is contained in:
parent
732f446ad2
commit
5b6e8ea3ec
|
@ -253,7 +253,8 @@ export class CompileMetadataResolver {
|
||||||
// Directive
|
// Directive
|
||||||
if (!selector) {
|
if (!selector) {
|
||||||
this._reportError(
|
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);
|
directiveType);
|
||||||
selector = 'error';
|
selector = 'error';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue