File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 10
10
<PackageVersion Include =" Microsoft.CodeAnalysis.PublicApiAnalyzers" Version =" 4.14.0" />
11
11
<PackageVersion Include =" Microsoft.CSharp" Version =" 4.7.0" />
12
12
<PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 9.0.0" />
13
- <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 9.0.6 " />
13
+ <PackageVersion Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 9.0.7 " />
14
14
<PackageVersion Include =" Polly" Version =" 8.6.0" />
15
15
<PackageVersion Include =" Roslynator.Analyzers" Version =" 4.13.1" />
16
16
<PackageVersion Include =" Roslynator.Formatting.Analyzers" Version =" 4.13.1" />
20
20
<PackageVersion Include =" Serilog.Sinks.Console" Version =" 6.0.0" />
21
21
<PackageVersion Include =" Serilog.Sinks.File" Version =" 7.0.0" />
22
22
<PackageVersion Include =" Serilog.Sinks.Map" Version =" 2.0.0" />
23
- <PackageVersion Include =" System.CommandLine" Version =" 2.0.0-beta7.25353 .2" />
23
+ <PackageVersion Include =" System.CommandLine" Version =" 2.0.0-beta7.25358 .2" />
24
24
<PackageVersion Include =" System.IO.Abstractions" Version =" 22.0.15" />
25
- <PackageVersion Include =" System.Text.Json" Version =" 9.0.6 " />
25
+ <PackageVersion Include =" System.Text.Json" Version =" 9.0.7 " />
26
26
</ItemGroup >
27
27
</Project >
Original file line number Diff line number Diff line change @@ -9,20 +9,19 @@ namespace GitVersion;
9
9
// ReSharper disable once ClassNeverInstantiated.Global
10
10
internal class GitVersionApp ( RootCommandImpl rootCommand )
11
11
{
12
- private readonly RootCommandImpl rootCommand = rootCommand . NotNull ( ) ;
12
+ private readonly RootCommandImpl _rootCommand = rootCommand . NotNull ( ) ;
13
13
14
14
public Task < int > RunAsync ( string [ ] args , CancellationToken cancellationToken )
15
15
{
16
- var cliConfiguration = new CommandLineConfiguration ( rootCommand ) ;
17
- var parseResult = cliConfiguration . Parse ( args ) ;
16
+ var parseResult = this . _rootCommand . Parse ( args ) ;
18
17
19
18
var logFile = parseResult . GetValue < FileInfo ? > ( GitVersionSettings . LogFileOption ) ;
20
19
var verbosity = parseResult . GetValue < Verbosity ? > ( GitVersionSettings . VerbosityOption ) ?? Verbosity . Normal ;
21
20
22
21
if ( logFile ? . FullName != null ) LoggingEnricher . Path = logFile . FullName ;
23
22
LoggingEnricher . LogLevel . MinimumLevel = GetLevelForVerbosity ( verbosity ) ;
24
23
25
- return parseResult . InvokeAsync ( cancellationToken ) ;
24
+ return parseResult . InvokeAsync ( new InvocationConfiguration ( ) , cancellationToken ) ;
26
25
}
27
26
28
27
// Note: there are 2 locations to watch for dotnet-suggest
Original file line number Diff line number Diff line change 37
37
<PackageVersion Include =" NUnit.Analyzers" Version =" 4.9.2" />
38
38
<PackageVersion Include =" NUnit3TestAdapter" Version =" 5.0.0" />
39
39
<PackageVersion Include =" Shouldly" Version =" 4.3.0" />
40
- <PackageVersion Include =" System.Collections.Immutable" Version =" 9.0.2 " />
40
+ <PackageVersion Include =" System.Collections.Immutable" Version =" 9.0.7 " />
41
41
<PackageVersion Include =" System.Drawing.Common" Version =" 9.0.7" />
42
42
<PackageVersion Include =" System.IO.Abstractions" Version =" 22.0.15" />
43
- <PackageVersion Include =" System.Reflection.Metadata" Version =" 9.0.2 " />
43
+ <PackageVersion Include =" System.Reflection.Metadata" Version =" 9.0.7 " />
44
44
<PackageVersion Include =" System.Security.Cryptography.Xml" Version =" 9.0.7" />
45
45
<PackageVersion Include =" System.Text.Json" Version =" 9.0.7" />
46
46
<PackageVersion Include =" YamlDotNet" Version =" 16.3.0" />
You can’t perform that action at this time.
0 commit comments