bugfix: create app not creating dirs

This commit is contained in:
Michael Shanks 2020-05-27 10:54:34 +01:00
parent b903a72987
commit 2a8ca59b6d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }