File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1010 <PackageVersion Include =" Microsoft.CodeAnalysis.PublicApiAnalyzers" Version =" 4.14.0" />
1111 <PackageVersion Include =" Microsoft.CSharp" Version =" 4.7.0" />
1212 <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 " />
1414 <PackageVersion Include =" Polly" Version =" 8.6.0" />
1515 <PackageVersion Include =" Roslynator.Analyzers" Version =" 4.13.1" />
1616 <PackageVersion Include =" Roslynator.Formatting.Analyzers" Version =" 4.13.1" />
2020 <PackageVersion Include =" Serilog.Sinks.Console" Version =" 6.0.0" />
2121 <PackageVersion Include =" Serilog.Sinks.File" Version =" 7.0.0" />
2222 <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" />
2424 <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 " />
2626 </ItemGroup >
2727</Project >
Original file line number Diff line number Diff line change 1- using System . CommandLine ;
21using GitVersion . Extensions ;
32using GitVersion . Generated ;
43using GitVersion . Infrastructure ;
@@ -9,20 +8,19 @@ namespace GitVersion;
98// ReSharper disable once ClassNeverInstantiated.Global
109internal class GitVersionApp ( RootCommandImpl rootCommand )
1110{
12- private readonly RootCommandImpl rootCommand = rootCommand . NotNull ( ) ;
11+ private readonly RootCommandImpl _rootCommand = rootCommand . NotNull ( ) ;
1312
1413 public Task < int > RunAsync ( string [ ] args , CancellationToken cancellationToken )
1514 {
16- var cliConfiguration = new CommandLineConfiguration ( rootCommand ) ;
17- var parseResult = cliConfiguration . Parse ( args ) ;
15+ var parseResult = this . _rootCommand . Parse ( args ) ;
1816
1917 var logFile = parseResult . GetValue < FileInfo ? > ( GitVersionSettings . LogFileOption ) ;
2018 var verbosity = parseResult . GetValue < Verbosity ? > ( GitVersionSettings . VerbosityOption ) ?? Verbosity . Normal ;
2119
2220 if ( logFile ? . FullName != null ) LoggingEnricher . Path = logFile . FullName ;
2321 LoggingEnricher . LogLevel . MinimumLevel = GetLevelForVerbosity ( verbosity ) ;
2422
25- return parseResult . InvokeAsync ( cancellationToken ) ;
23+ return parseResult . InvokeAsync ( cancellationToken : cancellationToken ) ;
2624 }
2725
2826 // Note: there are 2 locations to watch for dotnet-suggest
Original file line number Diff line number Diff line change 3737 <PackageVersion Include =" NUnit.Analyzers" Version =" 4.9.2" />
3838 <PackageVersion Include =" NUnit3TestAdapter" Version =" 5.0.0" />
3939 <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 " />
4141 <PackageVersion Include =" System.Drawing.Common" Version =" 9.0.7" />
4242 <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 " />
4444 <PackageVersion Include =" System.Security.Cryptography.Xml" Version =" 9.0.7" />
4545 <PackageVersion Include =" System.Text.Json" Version =" 9.0.7" />
4646 <PackageVersion Include =" YamlDotNet" Version =" 16.3.0" />
You can’t perform that action at this time.
0 commit comments