Fixed path seperator char for loading input text
continuous-integration/drone/push Build is failing Details

master
Xander Sigler 3 years ago
parent 342b985685
commit 74db9dfe12

@ -56,7 +56,7 @@ namespace AOC2021.Test
private string GetTextInput(string day, string type) private string GetTextInput(string day, string type)
{ {
var constructedFileName = $"Input\\{day}_{type}.txt"; var constructedFileName = $"Input{Path.DirectorySeparatorChar}{day}_{type}.txt";
Console.WriteLine("ConstructedFileName: " + constructedFileName); Console.WriteLine("ConstructedFileName: " + constructedFileName);
Console.WriteLine("Input File Size: " + Directory.GetFiles("Input").Length); Console.WriteLine("Input File Size: " + Directory.GetFiles("Input").Length);
foreach (var file in Directory.GetFiles("Input")) foreach (var file in Directory.GetFiles("Input"))

Loading…
Cancel
Save