tweak log messages
This commit is contained in:
parent
c2d92b19f3
commit
c8a9ac6048
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue