Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f103bc4ec4 |
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user