File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
transforms/no-implicit-this/helpers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -127,14 +127,14 @@ export class Runner {
127
127
debug ( 'Gathering telemetry data from %s ...' , this . options . url ) ;
128
128
await gatherTelemetryForUrl (
129
129
this . options . url ,
130
- ( _module : unknown , modulePath : string ) : RuntimeData | void => {
131
- // FIXME: Don't hardcode app name
132
- if ( modulePath . startsWith ( 'pyckle/helpers/' ) ) {
130
+ ( _module : unknown , modulePath : string , appModulePrefix : string ) : RuntimeData | void => {
131
+ if ( modulePath . startsWith ( `${ appModulePrefix } /helpers/` ) ) {
133
132
return { type : 'Helper' } ;
134
- } else if ( modulePath . startsWith ( 'pyckle /components/' ) ) {
133
+ } else if ( modulePath . startsWith ( ` ${ appModulePrefix } /components/` ) ) {
135
134
return { type : 'Component' } ;
136
135
}
137
- }
136
+ } ,
137
+ 'pyckle' // FIXME: Don't hardcode
138
138
) ;
139
139
140
140
const telemetry = getTelemetry ( ) as Record < string , unknown > ; // FIXME
You can’t perform that action at this time.
0 commit comments