tweak log messages

This commit is contained in:
Michael Bradley, Jr 2018-09-24 17:38:52 -05:00
parent c2d92b19f3
commit c8a9ac6048
1 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,7 @@ class TemplateGenerator {
let {url, filePath, browse} = this.getExternalProject(uri);
let tmpFilePath = fs.tmpDir(filePath);
console.log(__('Installing template from ' + browse).green);
console.log(__('Downloading template...').green);
fs.mkdirpSync(utils.dirname(tmpFilePath));
utils.downloadFile(url, tmpFilePath, (err) => {
@ -46,8 +47,7 @@ class TemplateGenerator {
generate(destinationFolder, name) {
const fspath = utils.joinPath(destinationFolder, name);
this.checkPathExists(fspath);
console.log(__('Initializing Embark Template...').green);
console.log(__('Initializing Embark template...').green);
let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName));
fs.copySync(templatePath, fspath);