Skip to content

Commit 4c465d6

Browse files
author
Kelly Selden
committed
supply args to runEmber
1 parent 778c22e commit 4c465d6

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

src/get-start-and-end-commands.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,9 @@ async function runEmberLocally({
148148
packageRoot,
149149
cwd,
150150
projectName,
151-
blueprint
151+
blueprint,
152+
args
152153
}) {
153-
let args = getArgs({
154-
projectName,
155-
blueprint
156-
});
157-
158154
if (!blueprint.isBaseBlueprint) {
159155
cwd = path.join(cwd, projectName);
160156
}
@@ -168,15 +164,11 @@ async function runEmberLocally({
168164
async function runEmberRemotely({
169165
cwd,
170166
projectName,
171-
blueprint
167+
blueprint,
168+
args
172169
}) {
173170
let isCustomBlueprint = !isDefaultBlueprint(blueprint);
174171

175-
let args = getArgs({
176-
projectName,
177-
blueprint
178-
});
179-
180172
if (!blueprint.isBaseBlueprint) {
181173
cwd = path.join(cwd, projectName);
182174
}
@@ -206,7 +198,11 @@ function createProject(runEmber) {
206198
packageRoot,
207199
cwd,
208200
projectName,
209-
blueprint
201+
blueprint,
202+
args: getArgs({
203+
projectName,
204+
blueprint
205+
})
210206
});
211207
}
212208

0 commit comments

Comments
 (0)