1 Commits

Author SHA1 Message Date
FrigaT
f103bc4ec4 fix IReportFormatter
All checks were successful
CI / build-test (push) Successful in 37s
Release / pack-and-publish (release) Successful in 37s
2025-12-26 23:07:13 +03:00
2 changed files with 3 additions and 3 deletions

View File

@@ -62,8 +62,8 @@ namespace SQLLinter.CLI
//linter.Run(@"C:\Users\frost\Desktop\DISTR-2599\test.sql");
var formatter = new HtmlReportFormatter_v1();
var content = formatter.Format(rep.Violations, bpmn);
var formatter = new HtmlReportFormatter_v2();
var content = formatter.Format(rep.Violations, null);
File.WriteAllText(@"C:\Users\frost\Downloads\Telegram Desktop\test.html", content);
}

View File

@@ -6,5 +6,5 @@ namespace SQLLinter.Infrastructure.Reporters;
public interface IReportFormatter
{
string Format(List<IRuleViolation> violations);
string Format(List<IRuleViolation> violations, BpmnDiagram diagram);
string Format(List<IRuleViolation> violations, BpmnDiagram? diagram);
}