From a66f002a18c5cf9de28e8fe0cf1e1114ad4e3f42 Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Thu, 30 Mar 2017 03:13:48 +0900 Subject: [PATCH] swap path -> util.joinPath --- lib/cmds/template_generator.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cmds/template_generator.js b/lib/cmds/template_generator.js index c007f9585..f629071e8 100644 --- a/lib/cmds/template_generator.js +++ b/lib/cmds/template_generator.js @@ -1,5 +1,4 @@ var fs = require('../core/fs.js'); -var path = require('path'); var utils = require('../utils/utils.js'); var TemplateGenerator = function(templateName) { @@ -9,7 +8,7 @@ var TemplateGenerator = function(templateName) { TemplateGenerator.prototype.generate = function(destinationFolder, name) { var templatePath = fs.embarkPath(this.templateName); console.log('Initializing Embark Template....'.green); - var fspath = path.join(destinationFolder, name); + var fspath = utils.joinPath(destinationFolder, name); fs.copySync(templatePath, fspath); utils.cd(fspath);