Skip to content

Commit 031f865

Browse files
committed
make verifier chain an optional feature for reporting
1 parent 1fce87b commit 031f865

12 files changed

Lines changed: 986 additions & 2210 deletions

File tree

src/ModVerify.CliApp/App/VerifyAction.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ private IReadOnlyCollection<IVerificationReporter> CreateReporters()
7373

7474
reporters.Add(IVerificationReporter.CreateConsole(new ConsoleReporterSettings
7575
{
76+
Verbose = Settings.ReportSettings.Verbose,
7677
MinimumReportSeverity = Settings.VerifierServiceSettings.FailFastSettings.IsFailFast
7778
? VerificationSeverity.Information
7879
: VerificationSeverity.Error
@@ -83,11 +84,13 @@ private IReadOnlyCollection<IVerificationReporter> CreateReporters()
8384
{
8485
OutputDirectory = outputDirectory,
8586
MinimumReportSeverity = Settings.ReportSettings.MinimumReportSeverity,
86-
AggregateResults = true
87+
AggregateResults = true,
88+
Verbose = Settings.ReportSettings.Verbose
8789
}, ServiceProvider));
8890

8991
reporters.Add(IVerificationReporter.CreateText(new TextFileReporterSettings
9092
{
93+
Verbose = Settings.ReportSettings.Verbose,
9194
OutputDirectory = outputDirectory!,
9295
MinimumReportSeverity = Settings.ReportSettings.MinimumReportSeverity
9396
}, ServiceProvider));

0 commit comments

Comments
 (0)