Remove file name prompt when reading from file
This commit is contained in:
parent
cdef096477
commit
77347734c4
|
@ -48,11 +48,10 @@ internal class Program
|
|||
{
|
||||
// Read all lines from the input file.
|
||||
var fullPath = Path.GetFullPath(inputFile);
|
||||
var fileName = Path.GetFileName(fullPath);
|
||||
foreach (string line in File.ReadLines(fullPath))
|
||||
{
|
||||
var trimmed = line.Trim();
|
||||
Console.WriteLine($"{fileName}> {trimmed.TrimEnd()}");
|
||||
Console.WriteLine($"{trimmed}");
|
||||
yield return trimmed;
|
||||
}
|
||||
// Don't return a null, since this will be followed by GetReplInputs.
|
||||
|
|
Loading…
Reference in New Issue