lib/branch/name/cli.rb in branch-name-3.10.7 vs lib/branch/name/cli.rb in branch-name-3.10.8

- old
+ new

@@ -96,10 +96,10 @@ method_option :project, type: :boolean, aliases: '-p' method_option :project_location, type: :string, aliases: '-l' method_option :project_files, type: :array, aliases: '-f' method_option :interactive, type: :boolean, optional: true, aliases: '-i' - def create(ticket_description, ticket = nil) + def create(ticket_description, ticket = nil) # rubocop:disable Metrics/MethodLength original_options, altered_options = init_options_for! command: :create self.options = altered_options branch_name = BranchNameService.new(description: ticket_description, ticket: ticket, options: options).call say "Branch name: \"#{branch_name}\"", :cyan say "Branch name \"#{branch_name}\" has been copied to the clipboard!", SUCCESS if copy_to_clipboard branch_name