From 2a4d35d8c1e9af370bb6af92d0b3c23530d462b0 Mon Sep 17 00:00:00 2001 From: Steven Hoffman Date: Fri, 31 May 2024 08:07:13 -0700 Subject: [PATCH] remove extra ]s Signed-off-by: Steven Hoffman --- lib/baseballbot/templates/components/league_standings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/baseballbot/templates/components/league_standings.rb b/lib/baseballbot/templates/components/league_standings.rb index 76cbabd..618c7d2 100644 --- a/lib/baseballbot/templates/components/league_standings.rb +++ b/lib/baseballbot/templates/components/league_standings.rb @@ -45,7 +45,7 @@ def initialize(subreddit, teams) def to_s rows = %w[West Central East].map do |division| @teams.select { _1.team.dig('division', 'name')[division] } - .map { "#{team_link(_1)} [#{team_record(_1)}]](/r/#{subreddit_name(_1)})]" } + .map { "#{team_link(_1)} [#{team_record(_1)}](/r/#{subreddit_name(_1)})" } end.transpose table(headers: [['West', :center], ['Central', :center], ['East', :center]], rows:)