From df767eb0bdad4d10e6db44c6c5ce300591747739 Mon Sep 17 00:00:00 2001 From: Morgan Aubert Date: Mon, 10 Jul 2023 19:48:34 -0400 Subject: [PATCH] Fix QA error --- src/marten/cli/manage.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/marten/cli/manage.cr b/src/marten/cli/manage.cr index df9cd3588..d04b7b2af 100644 --- a/src/marten/cli/manage.cr +++ b/src/marten/cli/manage.cr @@ -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|