mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
use path join
This commit is contained in:
parent
41273a4517
commit
caaf3acde5
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user