File tree 2 files changed +2
-2
lines changed
host/app/components/operator-mode
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -591,6 +591,7 @@ export class ${className} extends ${exportName}Parent {
591
591
.split (' /' )
592
592
.pop ()!
593
593
.replace (/ \. [^ . ] + $ / , ' ' ),
594
+ { pascalCase: true },
594
595
);
595
596
// check for parent/className declaration collision
596
597
parent = parent === className ? ` ${parent }Parent ` : parent ;
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import {
19
19
} from './remove-field-plugin' ;
20
20
import { ImportUtil } from 'babel-import-util' ;
21
21
import camelCase from 'camelcase' ;
22
- import upperFirst from 'lodash/upperFirst' ;
23
22
import isEqual from 'lodash/isEqual' ;
24
23
import { parseTemplates } from '@cardstack/ember-template-imports/lib/parse-templates' ;
25
24
import {
@@ -473,7 +472,7 @@ function suggestedCardName(
473
472
if ( name === 'default' ) {
474
473
name = ref . module . split ( '/' ) . pop ( ) ! ;
475
474
}
476
- return upperFirst ( camelCase ( `${ name } ${ type } ` ) ) ;
475
+ return camelCase ( `${ name } ${ type } ` , { pascalCase : true } ) ;
477
476
}
478
477
479
478
function insertFieldBeforePath (
You can’t perform that action at this time.
0 commit comments