From e0913c7a4f53ad62eafbc89ceadd8d18d2139808 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 14 Sep 2023 08:26:54 -0500 Subject: [PATCH] style: Solution-wide code cleanup --- src/Recyclarr.Cli/Logging/LogJanitor.cs | 4 ++-- .../Parsing/ErrorHandling/ConfigContextualMessages.cs | 4 ++-- src/Recyclarr.TrashLib/Settings/SettingsContextualMessages.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Recyclarr.Cli/Logging/LogJanitor.cs b/src/Recyclarr.Cli/Logging/LogJanitor.cs index a9f54191..3cb71715 100644 --- a/src/Recyclarr.Cli/Logging/LogJanitor.cs +++ b/src/Recyclarr.Cli/Logging/LogJanitor.cs @@ -14,8 +14,8 @@ public class LogJanitor : ILogJanitor public void DeleteOldestLogFiles(int numberOfNewestToKeep) { foreach (var file in _paths.LogDirectory.GetFiles() - .OrderByDescending(f => f.Name) - .Skip(numberOfNewestToKeep)) + .OrderByDescending(f => f.Name) + .Skip(numberOfNewestToKeep)) { file.Delete(); } diff --git a/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs b/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs index 13af23d7..d06557ab 100644 --- a/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs +++ b/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs @@ -7,8 +7,8 @@ public static class ConfigContextualMessages public static string? GetContextualErrorFromException(YamlException e) { if (e.Message.Contains( - "Property 'reset_unmatched_scores' not found on type " + - $"'{typeof(QualityScoreConfigYaml).FullName}'")) + "Property 'reset_unmatched_scores' not found on type " + + $"'{typeof(QualityScoreConfigYaml).FullName}'")) { return "Usage of 'reset_unmatched_scores' inside 'quality_profiles' under 'custom_formats' is no " + diff --git a/src/Recyclarr.TrashLib/Settings/SettingsContextualMessages.cs b/src/Recyclarr.TrashLib/Settings/SettingsContextualMessages.cs index d5ecf75d..aa17ed1d 100644 --- a/src/Recyclarr.TrashLib/Settings/SettingsContextualMessages.cs +++ b/src/Recyclarr.TrashLib/Settings/SettingsContextualMessages.cs @@ -7,8 +7,8 @@ public static class SettingsContextualMessages public static string? GetContextualErrorFromException(YamlException e) { if (e.Message.Contains( - "Property 'repository' not found on type " + - $"'{typeof(SettingsValues).FullName}'")) + "Property 'repository' not found on type " + + $"'{typeof(SettingsValues).FullName}'")) { return "Usage of 'repository' setting is no " +