mirror of
https://github.com/tonytins/PublishTimes.git
synced 2025-03-15 04:01:20 +00:00
Made some clarifications in comments
This commit is contained in:
parent
c8dd778784
commit
9fcc37315e
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ if (Console.ReadKey().Key == ConsoleKey.Y)
|
||||||
var filePath = Path.Combine(appPath, scheduleFile);
|
var filePath = Path.Combine(appPath, scheduleFile);
|
||||||
var appendSchedule = false;
|
var appendSchedule = false;
|
||||||
|
|
||||||
// If the file already exists, assume the schedule was written
|
// If the file already exists, assume a previous schedule was written
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
{
|
{
|
||||||
Console.WriteLine($"{Environment.NewLine}Add another schedule? Y/N");
|
Console.WriteLine($"{Environment.NewLine}Add another schedule? Y/N");
|
||||||
|
@ -77,7 +77,7 @@ if (Console.ReadKey().Key == ConsoleKey.Y)
|
||||||
outputFile.WriteLine(line);
|
outputFile.WriteLine(line);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear list and start over
|
// Clear list from memory before exit
|
||||||
storeSchedule.Clear();
|
storeSchedule.Clear();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue