From 7baf3d5d1273f47c2cc6072ab6272054179a6745 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Tue, 31 Oct 2023 06:02:52 -0600 Subject: [PATCH] Another fix to the proxyable file format --- Wabbajack.CLI/Verbs/ValidateLists.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Wabbajack.CLI/Verbs/ValidateLists.cs b/Wabbajack.CLI/Verbs/ValidateLists.cs index 7be85f70..72e6285d 100644 --- a/Wabbajack.CLI/Verbs/ValidateLists.cs +++ b/Wabbajack.CLI/Verbs/ValidateLists.cs @@ -564,10 +564,11 @@ public class ValidateLists await using var proxyFile = reports.Combine("proxyable.txt") .Open(FileMode.Create, FileAccess.Write, FileShare.None); + await using var tw = new StreamWriter(proxyFile); foreach (var file in _proxyableFiles) { var str = $"{file.Item1}#name={file.Item2.ToHex()}"; - await proxyFile.WriteAsync(Encoding.UTF8.GetBytes(str), token); + await tw.WriteLineAsync(str); } }