File tree 1 file changed +5
-4
lines changed
packages/@css-blocks/ember-cli
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ module.exports = {
38
38
_owners : new Set ( ) ,
39
39
40
40
_modulePrefix ( ) {
41
- let parent = this . parent ;
42
- let config = typeof parent . config === "function" ? parent . config ( ) || { } : { } ;
43
- let name = typeof parent . name === "function" ? parent . name ( ) : parent . name ;
44
- return parent . modulePrefix || config . modulePrefix || name || "" ;
41
+ const parent = this . parent ;
42
+ const config = typeof parent . config === "function" ? parent . config ( ) || { } : { } ;
43
+ const name = typeof parent . name === "function" ? parent . name ( ) : parent . name ;
44
+ const moduleName = typeof parent . moduleName === "function" ? parent . moduleName ( ) : parent . moduleName ;
45
+ return moduleName || parent . modulePrefix || config . modulePrefix || name || "" ;
45
46
} ,
46
47
47
48
// Shared AST plugin implementation for Glimmer and Ember.
You can’t perform that action at this time.
0 commit comments