Skip to content

Commit 731c9e9

Browse files
committed
Remove unused reference in CLI error handler
1 parent 40022dd commit 731c9e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git_commander/cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def run(args = ARGV)
2525
command = registry.find arguments.shift
2626
options = parse_command_options!(command, arguments)
2727
command.run options
28-
rescue Registry::CommandNotFound => e
28+
rescue Registry::CommandNotFound
2929
GitCommander.logger.error <<~ERROR_LOG
3030
#{command} not found in registry. Available commands: #{registry.commands.keys.inspect}
3131
ERROR_LOG

0 commit comments

Comments
 (0)