diff --git a/packages/cli/src/security-audit/SecurityAudit.service.ts b/packages/cli/src/security-audit/SecurityAudit.service.ts index 469ea60332..3c41df5e39 100644 --- a/packages/cli/src/security-audit/SecurityAudit.service.ts +++ b/packages/cli/src/security-audit/SecurityAudit.service.ts @@ -52,7 +52,7 @@ export class SecurityAuditService { const className = category.charAt(0).toUpperCase() + category.slice(1) + 'RiskReporter'; // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment - const RiskReporterModule = await import(`@/security-audit/risk-reporters/${className}`); + const RiskReporterModule = await import(`./risk-reporters/${className}`); // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access const RiskReporterClass = RiskReporterModule[className] as { new (): RiskReporter };