lib/git/lint/cli/parsers/analyze.rb in git-lint-5.0.0 vs lib/git/lint/cli/parsers/analyze.rb in git-lint-5.1.0

- old
+ new

@@ -1,7 +1,8 @@ # frozen_string_literal: true +require "core" require "refinements/structs" module Git module Lint module CLI @@ -15,10 +16,10 @@ def initialize configuration = Container[:configuration], client: Parser::CLIENT @configuration = configuration @client = client end - def call arguments = [] + def call arguments = ::Core::EMPTY_ARRAY client.separator "\nANALYZE OPTIONS:\n" add_sha client.parse arguments configuration end