Skip to content

Commit

Permalink
Update packages/ember-template-compiler/lib/system/compile-options.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Godfrey Chan <[email protected]>
  • Loading branch information
chadhietala and chancancode authored Jan 14, 2021
1 parent ba57d78 commit aa56f78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function compileOptions(
{
customizeComponentName(tagname: string): string {
assert(
`Malformed component lookup in "${_options.moduleName}". Got <${tagname} /> but you must use "::" to indicate a lookup`,
`You tried to invoke a component named <${tagname} /> in "${_options.moduleName}", but that is not a valid name for a component. Did you mean to use the "::" syntax for nested components?`,
!malformedComponentLookup(tagname)
);

Expand Down

0 comments on commit aa56f78

Please sign in to comment.