log re: installing pkgs for built-in boilerplate not just demo

This commit is contained in:
Michael Bradley, Jr 2018-09-24 17:39:09 -05:00
parent c8a9ac6048
commit 67f57217d5
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,11 @@ class TemplateGenerator {
let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName)); let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName));
fs.copySync(templatePath, fspath); fs.copySync(templatePath, fspath);
this.installTemplate(fspath, name, (name === 'embark_demo')); this.installTemplate(
fspath,
name,
(this.templateName === 'boilerplate' || this.templateName === 'demo')
);
if (name === 'embark_demo') { if (name === 'embark_demo') {
console.log('-------------------'.yellow); console.log('-------------------'.yellow);