From 093b6767c46a8357556786325c27cad54188990a Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Tue, 1 Oct 2024 21:49:03 +0300 Subject: [PATCH] Resolve dependency conflicts --- CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj | 2 +- CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs | 2 +- CliFx.Tests/CliFx.Tests.csproj | 2 +- CliFx.Tests/Utils/DynamicCommandBuilder.cs | 2 +- CliFx/Input/OptionInput.cs | 2 +- CliFx/Schema/IMemberSchema.cs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj index a54a4d0..e8c7ce8 100644 --- a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj +++ b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj @@ -15,7 +15,7 @@ - + diff --git a/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs b/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs index 4475db6..db20562 100644 --- a/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs +++ b/CliFx.Analyzers.Tests/Utils/AnalyzerAssertions.cs @@ -25,7 +25,7 @@ private Compilation Compile(string sourceCode) { "System", "System.Collections.Generic", - "System.Threading.Tasks" + "System.Threading.Tasks", }; // Get default CliFx namespaces diff --git a/CliFx.Tests/CliFx.Tests.csproj b/CliFx.Tests/CliFx.Tests.csproj index 5de0417..2883351 100644 --- a/CliFx.Tests/CliFx.Tests.csproj +++ b/CliFx.Tests/CliFx.Tests.csproj @@ -15,7 +15,7 @@ - + diff --git a/CliFx.Tests/Utils/DynamicCommandBuilder.cs b/CliFx.Tests/Utils/DynamicCommandBuilder.cs index 9a2f3f7..394a23e 100644 --- a/CliFx.Tests/Utils/DynamicCommandBuilder.cs +++ b/CliFx.Tests/Utils/DynamicCommandBuilder.cs @@ -27,7 +27,7 @@ public static IReadOnlyList CompileMany(string sourceCode) "System.Collections.Generic", "System.Linq", "System.Threading.Tasks", - "System.Globalization" + "System.Globalization", }; // Get default CliFx namespaces diff --git a/CliFx/Input/OptionInput.cs b/CliFx/Input/OptionInput.cs index 257340a..805d4f3 100644 --- a/CliFx/Input/OptionInput.cs +++ b/CliFx/Input/OptionInput.cs @@ -17,6 +17,6 @@ public string GetFormattedIdentifier() => Identifier switch { { Length: >= 2 } => "--" + Identifier, - _ => '-' + Identifier + _ => '-' + Identifier, }; } diff --git a/CliFx/Schema/IMemberSchema.cs b/CliFx/Schema/IMemberSchema.cs index 59919c9..87f9cea 100644 --- a/CliFx/Schema/IMemberSchema.cs +++ b/CliFx/Schema/IMemberSchema.cs @@ -21,6 +21,6 @@ public static string GetKind(this IMemberSchema memberSchema) => { ParameterSchema => "Parameter", OptionSchema => "Option", - _ => throw new ArgumentOutOfRangeException(nameof(memberSchema)) + _ => throw new ArgumentOutOfRangeException(nameof(memberSchema)), }; }