mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-04 17:17:09 +00:00
fix "outdated old" build in log parsing result
This commit is contained in:
parent
485eaf0752
commit
a1a7f724ef
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user