From 1d2f15793c13a88d5a56b62cfbdb5d709ce267a3 Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Sun, 16 Mar 2025 18:48:14 -0400 Subject: [PATCH] Minor tweaks --- Program.cs | 2 +- Tracer.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Program.cs b/Program.cs index 7c58bda..2b8e318 100644 --- a/Program.cs +++ b/Program.cs @@ -262,7 +262,7 @@ void ExportSchedule(List storeTimes) jsonList.Add(new Schedule() { Topic = chosenTopic.Trim(), - Date = date, + Date = date.Trim(), Times = times, }); diff --git a/Tracer.cs b/Tracer.cs index c9dc29c..13a57aa 100644 --- a/Tracer.cs +++ b/Tracer.cs @@ -13,7 +13,7 @@ internal static class Tracer /// The text to write to the console. [Conditional("DEBUG")] internal static void WriteLine(string content) => - Console.WriteLine(content); + Console.WriteLine(content); /// /// Writes text to the console without a newline, but only when in DEBUG mode. @@ -21,7 +21,7 @@ internal static class Tracer /// The text to write to the console. [Conditional("DEBUG")] internal static void Write(string content) => - Console.Write(content); + Console.Write(content); /// /// Writes multiple lines of text to the console, but only when in DEBUG mode. @@ -59,7 +59,7 @@ internal static class Tracer #if DEBUG return Directory.GetCurrentDirectory(); #else - return AppDomain.CurrentDomain.BaseDirectory; + return AppDomain.CurrentDomain.BaseDirectory; #endif } }