File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,15 +201,19 @@ function createProject(runEmber) {
201201 }
202202 } ) => {
203203 return async function createProject ( cwd ) {
204- if ( ! blueprint || ! blueprint . isBaseBlueprint ) {
204+ async function _runEmber ( blueprint ) {
205205 await runEmber ( {
206206 packageRoot,
207207 cwd,
208208 projectName,
209- blueprint : baseBlueprint
209+ blueprint
210210 } ) ;
211211 }
212212
213+ if ( ! blueprint || ! blueprint . isBaseBlueprint ) {
214+ await _runEmber ( baseBlueprint ) ;
215+ }
216+
213217 if ( blueprint ) {
214218 if ( await isDefaultAddonBlueprint ( blueprint ) ) {
215219 await module . exports . installAddonBlueprint ( {
@@ -218,12 +222,7 @@ function createProject(runEmber) {
218222 blueprint
219223 } ) ;
220224 } else {
221- await runEmber ( {
222- packageRoot,
223- cwd,
224- projectName,
225- blueprint
226- } ) ;
225+ await _runEmber ( blueprint ) ;
227226 }
228227 }
229228
You can’t perform that action at this time.
0 commit comments