mirror of
https://github.com/actions/runner.git
synced 2026-03-13 18:07:13 -04:00
encoding casting
This commit is contained in:
@@ -100,7 +100,7 @@ namespace GitHub.Runner.Worker.Dap
|
||||
_hostContext.GetDirectory(WellKnownDirectory.Temp),
|
||||
$"dap_repl_{Guid.NewGuid()}{extension}");
|
||||
|
||||
var encoding = new UTF8Encoding(false);
|
||||
Encoding encoding = new UTF8Encoding(false);
|
||||
#if OS_WINDOWS
|
||||
contents = contents.Replace("\r\n", "\n").Replace("\n", "\r\n");
|
||||
encoding = Console.InputEncoding.CodePage != 65001
|
||||
|
||||
Reference in New Issue
Block a user