From e69f84d1b483b049d16d25fddedf6f93f867ccb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Thu, 7 Sep 2023 17:23:50 +0200 Subject: [PATCH] Fixed json path --- cydigConfig.json => src/cydigconfig.json | 0 src/index.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename cydigConfig.json => src/cydigconfig.json (100%) diff --git a/cydigConfig.json b/src/cydigconfig.json similarity index 100% rename from cydigConfig.json rename to src/cydigconfig.json diff --git a/src/index.ts b/src/index.ts index 2130cd56..f9294162 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ import { PentestService } from './Pentest/PentestService'; */ export async function run(): Promise { try { - const cydigConfig: CyDigConfig = getContentOfFile("cydigconfig.json"); + const cydigConfig: CyDigConfig = getContentOfFile("src/cydigconfig.json"); await PentestService.getStateOfPentest(cydigConfig.pentest); await BranchProtectionService.getStateOfBranchProtection();