refactor(compiler): format update (#13506)

This commit is contained in:
Chuck Jazdzewski 2016-12-15 13:54:38 -08:00 committed by GitHub
parent 732f446ad2
commit 5b6e8ea3ec
1 changed files with 2 additions and 1 deletions

View File

@ -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';
} }