From e3d038b675636d2dcc98722e5ce9f6d5aa5b2db5 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sat, 27 Jul 2024 14:00:20 -0500 Subject: [PATCH] refactor: Address a few sonarlint issues --- src/Recyclarr.Cache/CacheAutofacModule.cs | 1 - src/Recyclarr.Gui/Program.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Recyclarr.Cache/CacheAutofacModule.cs b/src/Recyclarr.Cache/CacheAutofacModule.cs index bc1f5ee4..7cded8cc 100644 --- a/src/Recyclarr.Cache/CacheAutofacModule.cs +++ b/src/Recyclarr.Cache/CacheAutofacModule.cs @@ -7,6 +7,5 @@ public class CacheAutofacModule : Module protected override void Load(ContainerBuilder builder) { builder.RegisterType().As(); - // builder.RegisterGeneric(typeof(CachePersister<>)).As(typeof(ICachePersister<>)); } } diff --git a/src/Recyclarr.Gui/Program.cs b/src/Recyclarr.Gui/Program.cs index c4da7fee..aac90fbf 100644 --- a/src/Recyclarr.Gui/Program.cs +++ b/src/Recyclarr.Gui/Program.cs @@ -45,4 +45,4 @@ app.UseRouting(); app.MapBlazorHub(); app.MapFallbackToPage("/_Host"); -app.Run(); +await app.RunAsync();