Skip to content

Commit 899e8e0

Browse files
committed
Composing should be loaded from options only.
1 parent 2534244 commit 899e8e0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,7 @@ class Generator extends EventEmitter {
377377
});
378378
}
379379

380-
this.composing =
381-
this.options.composing || this.env.composing
382-
? this.env.composing(this.destinationPath())
383-
: undefined;
380+
this.compose = this.options.compose;
384381

385382
// Expose utilities for dependency-less generators.
386383
this._ = _;

0 commit comments

Comments
 (0)