Skip to content

Commit 0364417

Browse files
committed
activate thresholdTypes
1 parent 5c2a245 commit 0364417

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/coverlet.console/Program.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static async Task Main(string[] args)
6262
verbosity,
6363
formats,
6464
threshold,
65-
//thresholdTypes,
65+
thresholdTypes,
6666
thresholdStat,
6767
excludeFilters,
6868
includeFilters,
@@ -83,8 +83,6 @@ static async Task Main(string[] args)
8383

8484
ParseResult parseResult = CliParser.Parse(rootCommand, args);
8585

86-
CliConfiguration config = new (rootCommand);
87-
8886
rootCommand.SetAction(async (context) =>
8987
{
9088
string moduleOrAppDirectoryValue = parseResult.GetValue(moduleOrAppDirectory);
@@ -138,6 +136,9 @@ static async Task Main(string[] args)
138136
//context.ExitCode = taskStatus;
139137

140138
});
139+
140+
CliConfiguration config = new(rootCommand);
141+
141142
await config.InvokeAsync(args).ConfigureAwait(false);
142143
}
143144
private static Task<int> HandleCommand(string moduleOrAppDirectory,

0 commit comments

Comments
 (0)