bugfix: create app not creating dirs
This commit is contained in:
parent
dd031796f5
commit
075b264d21
|
@ -54,7 +54,7 @@ exports.create = async function(ctx) {
|
||||||
}
|
}
|
||||||
await instanceController.create(createInstCtx)
|
await instanceController.create(createInstCtx)
|
||||||
|
|
||||||
if (env.NODE_ENV === "production") {
|
if (ctx.isDev) {
|
||||||
const newAppFolder = await createEmptyAppPackage(ctx, newApplication)
|
const newAppFolder = await createEmptyAppPackage(ctx, newApplication)
|
||||||
await runNpmInstall(newAppFolder)
|
await runNpmInstall(newAppFolder)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue