diff --git a/lib/cmds/template_generator.js b/lib/cmds/template_generator.js index 18e65e401..b2dd26ff6 100644 --- a/lib/cmds/template_generator.js +++ b/lib/cmds/template_generator.js @@ -6,7 +6,7 @@ var TemplateGenerator = function(templateName) { }; TemplateGenerator.prototype.generate = function(destinationFolder, name) { - var templatePath = js.embarkPath(this.templateName); + var templatePath = fs.embarkPath(this.templateName); console.log('Initializing Embark Template....'.green); fs.copySync(templatePath, destinationFolder + name);