Fix inverted logic of file only flag

This commit is contained in:
Matt Nadareski
2025-10-19 17:59:56 -04:00
parent 94a9cf0c3f
commit 4fc17197ca

View File

@@ -203,7 +203,7 @@ namespace InfoPrint.Features
}
// Only print to console if enabled
if (FileOnly)
if (!FileOnly)
Console.WriteLine(builder);
using var sw = new StreamWriter(File.OpenWrite($"{filenameBase}.txt"));