Skip to content

Commit 4a0bbcb

Browse files
committed
Resolve long line caused by long log message in CLI#run
1 parent 38275f5 commit 4a0bbcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/git_commander/cli.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ def run(args = ARGV)
2626
options = parse_command_options!(command, arguments)
2727
command.run options
2828
rescue Registry::CommandNotFound
29-
GitCommander.logger.error "#{command} not found in registry. Available commands: #{registry.commands.keys.inspect}"
29+
GitCommander.logger.error <<~ERROR_LOG
30+
#{command} not found in registry. Available commands: #{registry.commands.keys.inspect}
31+
ERROR_LOG
32+
3033
help
3134
end
3235

0 commit comments

Comments
 (0)