#pragma warning disable CA1845, IDE0057

GetInferredCheckDirectory

Process.Start for insiders vscode
This commit is contained in:
2025-03-11 11:00:47 -07:00
parent 38ab4424bc
commit 6783621dab
2 changed files with 73 additions and 13 deletions

View File

@ -7,6 +7,7 @@ internal static partial class Helper20250306
private static string ProcessDataStandardFormatToJson(int columnsLine, string[] columns, string[] body)
{
#pragma warning disable CA1845, IDE0057
string result = "[\n";
string line;
string value;
@ -24,11 +25,12 @@ internal static partial class Helper20250306
value = segments[c].Replace("\"", "\\\"").Replace("\\", "\\\\");
line += '"' + columns[c].Trim('"') + '"' + ':' + '"' + value + '"' + ',';
}
line = line[..^1] + '}' + ',' + '\n';
line = line.Substring(0, line.Length - 1) + '}' + ',' + '\n';
result += line;
}
result = result[..^2] + ']';
result = result.Substring(0, result.Length - 1) + ']';
return result;
#pragma warning restore CA1845, IDE0057
}
private static void ProcessDataStandardFormatToJson(ILogger<Worker> logger, string file)