diff --git a/lib/template_generator.js b/lib/template_generator.js index f140b1041..3cee1ee77 100644 --- a/lib/template_generator.js +++ b/lib/template_generator.js @@ -14,7 +14,7 @@ var TemplateGenerator = function(templateName) { }; TemplateGenerator.prototype.generate = function(destinationFolder, name) { - var templatePath = path.join(__dirname + '/../' + this.templateName); + var templatePath = path.join(__dirname, '/../', this.templateName); wrench.copyDirSyncRecursive(templatePath, destinationFolder + name);