File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ async function runForPath(path, options = {}) {
5959 let componentPaths = await globby ( 'app/components/**/*.js' , { cwd : path } ) ;
6060 debug ( 'componentPaths = %O' , componentPaths ) ;
6161
62- for ( let componentPath of componentPaths ) {
62+ files: for ( let componentPath of componentPaths ) {
6363 let dimPath = chalk . dim ( componentPath ) ;
6464
6565 let source = fs . readFileSync ( componentPath , 'utf8' ) ;
@@ -115,11 +115,11 @@ async function runForPath(path, options = {}) {
115115
116116 // skip tagless components (silent)
117117 if ( tagName === '' ) {
118- debug ( `${ componentPath } : tagName detected : %o -> skip` , tagName ) ;
118+ debug ( `${ componentPath } : tagName: %o -> skip` , tagName ) ;
119119 continue ;
120120 }
121121
122- debug ( `${ componentPath } : tagName detected : %o` , tagName ) ;
122+ debug ( `${ componentPath } : tagName: %o` , tagName ) ;
123123
124124 // skip components that use `this.element`
125125 let thisElementPaths = j ( objectArg ) . find ( j . MemberExpression , {
@@ -142,7 +142,7 @@ async function runForPath(path, options = {}) {
142142 `${ dimPath } : Using \`${ methodName } ()\` is not supported in tagless components`
143143 )
144144 ) ;
145- continue ;
145+ continue files ;
146146 }
147147 }
148148
You can’t perform that action at this time.
0 commit comments