Skip to content

Commit

Permalink
fix(gen:factory): fix factory subgen location
Browse files Browse the repository at this point in the history
fixes #2381
  • Loading branch information
Awk34 committed Dec 8, 2016
1 parent ac96afe commit b09cfe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generators/factory/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';
var yeoman = require('yeoman-generator');

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

Expand Down

0 comments on commit b09cfe5

Please sign in to comment.