diff --git a/lib/index.js b/lib/index.js index 418cbc5e..0cfd1b88 100644 --- a/lib/index.js +++ b/lib/index.js @@ -47,7 +47,7 @@ class Embark { generateTemplate(templateName, destinationFolder, name, url) { this.context = [constants.contexts.templateGeneration]; - let TemplateGenerator = require('./cmds/template_generator.js'); + let TemplateGenerator = require('./utils/template_generator.js'); let templateGenerator = new TemplateGenerator(templateName); if (url) { diff --git a/lib/cmds/template_generator.js b/lib/utils/template_generator.js similarity index 98% rename from lib/cmds/template_generator.js rename to lib/utils/template_generator.js index 88235863..d1cffa68 100644 --- a/lib/cmds/template_generator.js +++ b/lib/utils/template_generator.js @@ -1,5 +1,5 @@ let fs = require('../core/fs.js'); -let utils = require('../utils/utils.js'); +let utils = require('./utils.js'); class TemplateGenerator { constructor(templateName) {