1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Expand ignore part of code

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-03-18 00:35:46 +03:00
parent 8cbcd84536
commit cce0ce401e
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1

View file

@ -101,11 +101,12 @@ public class AboutCommandGroup : CommandGroup
.WithDescription(builder.ToString()) .WithDescription(builder.ToString())
.WithColour(ColorsList.Cyan) .WithColour(ColorsList.Cyan)
.WithImageUrl("https://i.ibb.co/fS6wZhh/octobot-banner.png") .WithImageUrl("https://i.ibb.co/fS6wZhh/octobot-banner.png")
// ThisAssembly.Git.IsDirty already returns true or false.
// ReSharper disable HeuristicUnreachableCode
.WithFooter(string.Format(Messages.Version, ThisAssembly.Git.IsDirty .WithFooter(string.Format(Messages.Version, ThisAssembly.Git.IsDirty
? $"{ThisAssembly.Git.Branch}-{ThisAssembly.Git.Commit}-dirty" ? $"{ThisAssembly.Git.Branch}-{ThisAssembly.Git.Commit}-dirty"
// ReSharper disable once HeuristicUnreachableCode
// ^^^ while being reachable, however
: $"{ThisAssembly.Git.Branch}-{ThisAssembly.Git.Commit}")) : $"{ThisAssembly.Git.Branch}-{ThisAssembly.Git.Commit}"))
// ReSharper restore HeuristicUnreachableCode
.Build(); .Build();
var repositoryButton = new ButtonComponent( var repositoryButton = new ButtonComponent(