Revize 08616eff
Přidáno uživatelem Jakub Šilhavý před asi 2 roky(ů)
ld_client/LDClient/detection/InfoFetcher.cs | ||
---|---|---|
1 | 1 |
using System.Diagnostics; |
2 |
using LDClient.utils; |
|
3 | 2 |
|
4 | 3 |
namespace LDClient.detection { |
5 | 4 |
|
... | ... | |
46 | 45 |
|
47 | 46 |
private bool RetrieveDebuggerInfo(string filePath) { |
48 | 47 |
try { |
49 |
var fileContent = IoUtils.ReadFile(filePath);
|
|
48 |
var fileContent = File.ReadAllLines(filePath).Aggregate("", (current, line) => $"{current}{line}\n");
|
|
50 | 49 |
var (headSerialNumber, bodySerialNumber) = DebuggerInfoParser.Parse(fileContent); |
51 | 50 |
HeadSerialNumber = headSerialNumber; |
52 | 51 |
BodySerialNumber = bodySerialNumber; |
Také k dispozici: Unified diff
re #9566 Removed IoUtils.cs since it was being used only in one place.