diff --git a/src/Blobify.Tests/Extensions/IServiceCollectionExtensions.cs b/src/Blobify.Tests/Extensions/IServiceCollectionExtensions.cs index 9abe2c9..1d160ea 100644 --- a/src/Blobify.Tests/Extensions/IServiceCollectionExtensions.cs +++ b/src/Blobify.Tests/Extensions/IServiceCollectionExtensions.cs @@ -115,7 +115,7 @@ public static byte[] GetBytes(string filename) ); - private static byte[] GetResourceBytes(string filename, Encoding? encoding = null) + private static byte[] GetResourceBytes(string filename) { using var stream = GetResourceStream(filename); using var targetStream = new MemoryStream(); diff --git a/src/Blobify.Tests/Fixture/BlobifyServiceProviderFixture.cs b/src/Blobify.Tests/Fixture/BlobifyServiceProviderFixture.cs index 8adc2eb..6525389 100644 --- a/src/Blobify.Tests/Fixture/BlobifyServiceProviderFixture.cs +++ b/src/Blobify.Tests/Fixture/BlobifyServiceProviderFixture.cs @@ -125,7 +125,7 @@ public static ServiceProvider GetServiceProvider(Func( - (tenantId, scope) => Task.FromResult(new AccessToken(nameof(AccessToken), DateTimeOffset.UtcNow.AddDays(1))) + (_, _) => Task.FromResult(new AccessToken(nameof(AccessToken), DateTimeOffset.UtcNow.AddDays(1))) ) .AddSingleton() .AddSingleton() diff --git a/src/Blobify/Program.cs b/src/Blobify/Program.cs index 6ae455f..cb7d1fa 100644 --- a/src/Blobify/Program.cs +++ b/src/Blobify/Program.cs @@ -58,7 +58,7 @@ .WithExample(["archive", "inputpath", "storageaccountname"]); config.SetExceptionHandler( - (ex, typeResolver) => AnsiConsole.WriteException(ex, ExceptionFormats.ShowLinks) + (ex, _) => AnsiConsole.WriteException(ex, ExceptionFormats.ShowLinks) ); });