From be8980b74caf86078a21e06b28c1d8014dd55869 Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 23 Jan 2024 23:48:29 +0100 Subject: [PATCH] fix: run ameba --fix on parser_lines.cr --- src/utils/parser_lines.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/parser_lines.cr b/src/utils/parser_lines.cr index dacd71f..4d9039e 100644 --- a/src/utils/parser_lines.cr +++ b/src/utils/parser_lines.cr @@ -3,7 +3,7 @@ require "./breadcrumbs" module GX::Utils def self.usage_line(breadcrumbs : BreadCrumbs, description : String, has_commands : Bool = false) [ - "Usage: #{breadcrumbs.to_s}#{has_commands ? " [commands]" : ""} [options]", + "Usage: #{breadcrumbs}#{has_commands ? " [commands]" : ""} [options]", "", description, "", @@ -12,6 +12,6 @@ module GX::Utils end def self.help_line(breadcrumbs : BreadCrumbs) - "\nRun '#{breadcrumbs.to_s} COMMAND --help' for more information on a command." + "\nRun '#{breadcrumbs} COMMAND --help' for more information on a command." end end