From 0103fe9f60e04562d27e89dd57fc6a945db90c04 Mon Sep 17 00:00:00 2001 From: "Eric Sibly [chullybun]" Date: Fri, 26 Jul 2024 11:03:18 -0700 Subject: [PATCH] v2.2.1 (#23) - *Fixed:* All dependencies updated to the latest version. --- CHANGELOG.md | 3 +++ src/OnRamp/CodeGenerator.cs | 2 +- src/OnRamp/OnRamp.csproj | 10 +++++----- tests/OnRamp.Test/OnRamp.Test.csproj | 8 ++++---- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7700832..d7fbca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ Represents the **NuGet** versions. +## v2.2.1 +- *Fixed:* All dependencies updated to the latest version. + ## v2.2.0 - *Enhancement:* Added `ConeGenerator.OnConfigurationLoad` to enable validation and/or mutation of the configuration (`JsonNode`) before deserialization into the corresponding `ConfigBase` type. diff --git a/src/OnRamp/CodeGenerator.cs b/src/OnRamp/CodeGenerator.cs index 302722a..574eff5 100644 --- a/src/OnRamp/CodeGenerator.cs +++ b/src/OnRamp/CodeGenerator.cs @@ -42,7 +42,7 @@ public static async Task CreateAsync(ICodeGeneratorArgs args) /// The instance. /// The constructor must be the same as the . public static async Task CreateAsync(ICodeGeneratorArgs args) where TCodeGenerator : CodeGenerator - => (TCodeGenerator)Activator.CreateInstance(typeof(TCodeGenerator), new object[] { args, await LoadScriptsAsync(args).ConfigureAwait(false) }); + => (TCodeGenerator)Activator.CreateInstance(typeof(TCodeGenerator), [args, await LoadScriptsAsync(args).ConfigureAwait(false)]); /// /// Load the Scripts. diff --git a/src/OnRamp/OnRamp.csproj b/src/OnRamp/OnRamp.csproj index fd3a2a3..bf54dbe 100644 --- a/src/OnRamp/OnRamp.csproj +++ b/src/OnRamp/OnRamp.csproj @@ -4,7 +4,7 @@ Exe netstandard2.1 OnRamp - 2.2.0 + 2.2.1 true Avanade Avanade @@ -48,13 +48,13 @@ - + - + - - + + \ No newline at end of file diff --git a/tests/OnRamp.Test/OnRamp.Test.csproj b/tests/OnRamp.Test/OnRamp.Test.csproj index b24b05f..77ce805 100644 --- a/tests/OnRamp.Test/OnRamp.Test.csproj +++ b/tests/OnRamp.Test/OnRamp.Test.csproj @@ -64,14 +64,14 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive