mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-08 21:34:55 +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) {
|
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);
|
wrench.copyDirSyncRecursive(templatePath, destinationFolder + name);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user