mirror of
https://github.com/tonytins/StaggerPost.git
synced 2025-03-17 11:11:21 +00:00
Minor tweaks
This commit is contained in:
parent
2498b71fed
commit
1d2f15793c
2 changed files with 4 additions and 4 deletions
|
@ -262,7 +262,7 @@ void ExportSchedule(List<String> storeTimes)
|
|||
jsonList.Add(new Schedule()
|
||||
{
|
||||
Topic = chosenTopic.Trim(),
|
||||
Date = date,
|
||||
Date = date.Trim(),
|
||||
Times = times,
|
||||
});
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ internal static class Tracer
|
|||
/// <param name="content">The text to write to the console.</param>
|
||||
[Conditional("DEBUG")]
|
||||
internal static void WriteLine(string content) =>
|
||||
Console.WriteLine(content);
|
||||
Console.WriteLine(content);
|
||||
|
||||
/// <summary>
|
||||
/// Writes text to the console without a newline, but only when in DEBUG mode.
|
||||
|
@ -21,7 +21,7 @@ internal static class Tracer
|
|||
/// <param name="content">The text to write to the console.</param>
|
||||
[Conditional("DEBUG")]
|
||||
internal static void Write(string content) =>
|
||||
Console.Write(content);
|
||||
Console.Write(content);
|
||||
|
||||
/// <summary>
|
||||
/// 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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue