feat: Ability to change deployment type for nextjs

This commit is contained in:
Andras Bacsai
2022-07-08 16:51:58 +02:00
parent c478c1b7ad
commit 88a62be30c
13 changed files with 163 additions and 48 deletions

View File

@@ -60,7 +60,7 @@
}
}
}
async function scanRepository() {
async function scanRepository(): Promise<void> {
try {
if (type === 'gitlab') {
const files = await get(`${apiUrl}/v4/projects/${projectId}/repository/tree`, {