Skip to content

Commit

Permalink
Improve example (cake-contrib#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger authored Aug 30, 2021
1 parent fcb2094 commit c9505ed
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,22 @@ Task("Create-IssueReport").Does(() =>
);
MSBuild(repoRootFolder.CombineWithFilePath("MySolution.sln"), settings);

// Create SARIF report.
// Write issues to console.
CreateIssueReport(
new List<IIssueProvider>
{
MsBuildIssuesFromFilePath(
msBuildLogFile,
MsBuildXmlFileLoggerFormat)
},
ConsoleIssueReportFormat(),
ConsoleIssueReportFormat(
new ConsoleIssueReportFormatSettings
{
GroupByRule = true,
ShowProviderSummary = true,
ShowPrioritySummary = true
}),
repoRootFolder,
string.Empty);
});
```
```

0 comments on commit c9505ed

Please sign in to comment.