Skip to content
Permalink
Browse files

[bot-4-bots] Fix table formatting

  • Loading branch information...
khaale committed Jan 7, 2017
1 parent 42eb674 commit 22866da8f392e2f6575f2b6482d111c602d0a079
Showing with 3 additions and 3 deletions.
  1. +3 −3 bot-4-bots/Bot4Bots/BotController.cs
@@ -82,13 +82,13 @@ private string GetBotsSummary()
orderby bi.CreatedBy?.CommitDate descending
select $"[{bi.Name}]({bi.Link})|" +
$"{bi.CreatedBy?.CommitDate:d}|{bi.CreatedBy?.User}|" +
$"{bi.LastChangedBy?.CommitDate:d}|{bi.LastChangedBy?.User}|"
$"{bi.LastChangedBy?.CommitDate:d}|{bi.LastChangedBy?.User}"
).ToList();

var tableHeader = new[]
{
NewLine + "Bot Name | Created On ↓ | Created By | Last Changed On | Last Changed By",
"---------|-------------------|------------|-----------------|----------------"
NewLine + NewLine + "Bot Name | Created On ↓ | Created By | Last Changed On | Last Changed By",
"---------|-------------------|------------|-----------------|----------------"
};

var message = string.Join(NewLine, tableHeader.Concat(tableRows));

0 comments on commit 22866da

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.