style: Solution-wide code cleanup

pull/231/head
Robert Dailey 1 year ago
parent 4a5e42eb93
commit 5ed9b8f1ee

@ -1,9 +1,9 @@
using System.IO.Abstractions; using System.IO.Abstractions;
using Recyclarr.Common; using Recyclarr.Common;
using Recyclarr.Platform;
using Recyclarr.Config; using Recyclarr.Config;
using Recyclarr.Config.Models; using Recyclarr.Config.Models;
using Recyclarr.Config.Parsing; using Recyclarr.Config.Parsing;
using Recyclarr.Platform;
using Spectre.Console; using Spectre.Console;
using Spectre.Console.Rendering; using Spectre.Console.Rendering;

@ -1,4 +1,3 @@
using System.IO.Abstractions;
using Autofac; using Autofac;
using AutofacSerilogIntegration; using AutofacSerilogIntegration;
using Recyclarr.Platform; using Recyclarr.Platform;

@ -8,7 +8,6 @@ using Recyclarr.Platform;
#pragma warning disable CA1506 #pragma warning disable CA1506
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRazorPages(); builder.Services.AddRazorPages();

@ -1,7 +1,7 @@
using Autofac; using Autofac;
using Flurl.Http.Configuration;
using Recyclarr.ServarrApi.Http; using Recyclarr.ServarrApi.Http;
using Recyclarr.ServarrApi.Services; using Recyclarr.ServarrApi.Services;
using IFlurlClientFactory = Flurl.Http.Configuration.IFlurlClientFactory;
namespace Recyclarr.ServarrApi; namespace Recyclarr.ServarrApi;

@ -25,7 +25,8 @@ public class ConfigTemplateGuideServiceIntegrationTest : IntegrationTestFixture
{ {
var repo = Resolve<IConfigTemplatesRepo>(); var repo = Resolve<IConfigTemplatesRepo>();
var templateDir = repo.Path; var templateDir = repo.Path;
Fs.AddSameFileFromEmbeddedResource(templateDir.File("templates.json"), typeof(ConfigTemplateGuideServiceIntegrationTest)); Fs.AddSameFileFromEmbeddedResource(templateDir.File("templates.json"),
typeof(ConfigTemplateGuideServiceIntegrationTest));
TemplatePath MakeTemplatePath(SupportedServices service, string id, string path) TemplatePath MakeTemplatePath(SupportedServices service, string id, string path)
{ {

Loading…
Cancel
Save