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:
parent
8cbcd84536
commit
cce0ce401e
1 changed files with 3 additions and 2 deletions
|
@ -101,11 +101,12 @@ public class AboutCommandGroup : CommandGroup
|
|||
.WithDescription(builder.ToString())
|
||||
.WithColour(ColorsList.Cyan)
|
||||
.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
|
||||
? $"{ThisAssembly.Git.Branch}-{ThisAssembly.Git.Commit}-dirty"
|
||||
// ReSharper disable once HeuristicUnreachableCode
|
||||
// ^^^ while being reachable, however
|
||||
: $"{ThisAssembly.Git.Branch}-{ThisAssembly.Git.Commit}"))
|
||||
// ReSharper restore HeuristicUnreachableCode
|
||||
.Build();
|
||||
|
||||
var repositoryButton = new ButtonComponent(
|
||||
|
|
Loading…
Add table
Reference in a new issue