From b09cfe514d30d1a9fb06a4302f2629f48ac478b1 Mon Sep 17 00:00:00 2001 From: Andrew Koroluk Date: Wed, 7 Dec 2016 22:38:28 -0500 Subject: [PATCH] fix(gen:factory): fix factory subgen location fixes #2381 --- src/generators/factory/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/factory/index.js b/src/generators/factory/index.js index c303eb9b8..8daf6d5d8 100644 --- a/src/generators/factory/index.js +++ b/src/generators/factory/index.js @@ -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') }); } });