Skip to content

Commit

Permalink
remove extra ]s
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hoffman <[email protected]>
  • Loading branch information
Fustrate committed May 31, 2024
1 parent c81c957 commit 2a4d35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/baseballbot/templates/components/league_standings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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:)
Expand Down

0 comments on commit 2a4d35d

Please sign in to comment.