Skip to content

Commit

Permalink
Fix QA error
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Jul 10, 2023
1 parent 595f0cf commit df767eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marten/cli/manage.cr
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module Marten

usage << USAGE_HEADER % @name

longest_command_name = @commands_per_name.values.map(&.command_name.size).max
longest_command_name = @commands_per_name.values.max_of(&.command_name.size)
description_padding = ->(command_name : String) { " " * (longest_command_name - command_name.size + 2) }

per_app_commands = @commands_per_name.values.group_by do |command|
Expand Down

0 comments on commit df767eb

Please sign in to comment.