fix "outdated old" build in log parsing result

This commit is contained in:
13xforever 2019-01-11 04:45:03 +05:00
parent 485eaf0752
commit a1a7f724ef

View File

@ -430,8 +430,8 @@ namespace CompatBot.Utils.ResultFormatters
var updateInfo = await CheckForUpdateAsync(items).ConfigureAwait(false);
if (updateInfo != null)
{
var timeDeltaStr = updateInfo.GetUpdateDelta() is TimeSpan timeDelta ? timeDelta.GetTimeDeltaDescription(): "outdated";
notes.AppendLine($"This RPCS3 build is {timeDeltaStr} old, please consider updating it");
var timeDeltaStr = updateInfo.GetUpdateDelta() is TimeSpan timeDelta ? timeDelta.GetTimeDeltaDescription() + " old": "outdated";
notes.AppendLine($"This RPCS3 build is {timeDeltaStr}, please consider updating it");
}
var notesContent = notes.ToString().Trim();
PageSection(builder, notesContent, "Notes");