diff --git a/src/index.ts b/src/index.ts index f9294162..a1fdd609 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,9 +11,9 @@ import { PentestService } from './Pentest/PentestService'; export async function run(): Promise { try { const cydigConfig: CyDigConfig = getContentOfFile("src/cydigconfig.json"); + await BranchProtectionService.getStateOfBranchProtection(); await PentestService.getStateOfPentest(cydigConfig.pentest); - await BranchProtectionService.getStateOfBranchProtection(); } catch (error) {