From 67f57217d53831749a08527746d675382a2872fa Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Mon, 24 Sep 2018 17:39:09 -0500 Subject: [PATCH] log re: installing pkgs for built-in boilerplate not just demo --- lib/utils/template_generator.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/utils/template_generator.js b/lib/utils/template_generator.js index a3d5287d..f98ab221 100644 --- a/lib/utils/template_generator.js +++ b/lib/utils/template_generator.js @@ -51,7 +51,11 @@ class TemplateGenerator { let templatePath = fs.embarkPath(utils.joinPath('templates', this.templateName)); 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') { console.log('-------------------'.yellow);