This commit is contained in:
Martin McKeaveney 2020-07-14 08:21:22 +01:00
parent 6d48588ff1
commit eee2da24e1
3 changed files with 7 additions and 4 deletions

View File

@ -29,5 +29,5 @@
"uuid": "^7.0.3",
"yargs": "^14.2.0"
},
"gitHead": "e4e053cb6ff9a0ddc7115b44ccaa24b8ec41fb9a"
"gitHead": "2699362f071df22267620cf704c40edcee51bc18"
}

View File

@ -92,5 +92,5 @@
"./scripts/jestSetup.js"
]
},
"gitHead": "e4e053cb6ff9a0ddc7115b44ccaa24b8ec41fb9a"
"gitHead": "2699362f071df22267620cf704c40edcee51bc18"
}

View File

@ -137,8 +137,11 @@ const createEmptyAppPackage = async (ctx, app) => {
ctx.throw(400, "App folder already exists for this application")
}
await fs.ensureDir(join(newAppFolder, "pages", "main", "screens"), 0o777)
await fs.ensureDir(join(newAppFolder, "pages", "unauthenticated", "screens"), 0o777)
await fs.ensureDir(join(newAppFolder, "pages", "main", "screens"), 0o777)
await fs.ensureDir(
join(newAppFolder, "pages", "unauthenticated", "screens"),
0o777
)
await copy(templateFolder, newAppFolder)