lib/gitlab_exporter/cli.rb in gitlab-exporter-8.0.0 vs lib/gitlab_exporter/cli.rb in gitlab-exporter-9.0.0
- old
+ new
@@ -17,11 +17,10 @@
class InvalidCLICommand < RuntimeError; end
# Empty runner that will raise an InvalidCLICommand when executed to provide the usage
# in the exception message
class NullRunner
- def initialize(args)
- end
+ def initialize(args); end
def run
fail InvalidCLICommand.new("Usage: #{EXECUTABLE_NAME} <command> [options] [arguments...]\n\n"\
"Available commands are: #{GitLab::Exporter::CLI.commands.keys.join(', ')}")
end