File tree 1 file changed +3
-3
lines changed
packages/ember-css-modules/lib 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -228,8 +228,7 @@ function formatJS(classMapping) {
228
228
229
229
class ModuleSourceFunnel extends Funnel {
230
230
constructor ( input , stylesTree , options ) {
231
- super ( input , options ) ;
232
- this . stylesTree = stylesTree ;
231
+ super ( [ input , stylesTree ] , options ) ;
233
232
this . parentName = options . parentName ;
234
233
this . destDir = options . outputRoot ;
235
234
this . inputHasParentName = null ;
@@ -248,8 +247,9 @@ class ModuleSourceFunnel extends Funnel {
248
247
`${ this . inputPaths [ 0 ] } /${ this . parentName } `
249
248
) ;
250
249
250
+ let stylesTreePath = this . inputPaths [ 1 ] ;
251
251
let stylesTreeHasParentName = fs . existsSync (
252
- `${ this . stylesTree . outputPath } /${ this . parentName } `
252
+ `${ stylesTreePath } /${ this . parentName } `
253
253
) ;
254
254
if ( stylesTreeHasParentName && ! this . inputHasParentName ) {
255
255
this . destDir += `/${ this . parentName } ` ;
You can’t perform that action at this time.
0 commit comments