move template generator
This commit is contained in:
parent
58ba4bde48
commit
9f529c7668
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
Loading…
Reference in New Issue