diff --git a/src/reports/iac_scan_report_processor.ts b/src/reports/iac_scan_report_processor.ts index e86fb9e..a611d56 100644 --- a/src/reports/iac_scan_report_processor.ts +++ b/src/reports/iac_scan_report_processor.ts @@ -81,7 +81,7 @@ export class SarifReportGenerator implements ReportGenerator { */ generate(report: IACValidationReport): string { const note: string = report.note; - if (report.violations?.length == 0) { + if (report.violations?.length === 0) { const sarifReport: SARIFTemplate = this.constructSARIFReport([], [], note); return JSON.stringify(sarifReport, null, 2); }