Skip to content

Commit b09cfe5

Browse files
committed
fix(gen:factory): fix factory subgen location
fixes #2381
1 parent ac96afe commit b09cfe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/generators/factory/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22
var yeoman = require('yeoman-generator');
33

4-
var Generator = yeoman.generators.Base.extend({
4+
var Generator = yeoman.Base.extend({
55
compose: function() {
6-
this.composeWith('ng-component:factory', {arguments: this.arguments}, { local: require.resolve('generator-ng-component/factory') });
6+
this.composeWith('ng-component:factory', {arguments: this.arguments}, { local: require.resolve('generator-ng-component/generators/factory') });
77
}
88
});
99

0 commit comments

Comments
 (0)