lib/gitx/cli/start_command.rb in gitx-3.0.1 vs lib/gitx/cli/start_command.rb in gitx-3.0.2.ci.207.1
- old
+ new
@@ -3,10 +3,10 @@
require 'gitx/cli/base_command'
module Gitx
module Cli
class StartCommand < BaseCommand
- EXAMPLE_BRANCH_NAMES = %w(api-fix-invalid-auth desktop-cleanup-avatar-markup share-form-add-edit-link).freeze
+ EXAMPLE_BRANCH_NAMES = %w[api-fix-invalid-auth desktop-cleanup-avatar-markup share-form-add-edit-link].freeze
VALID_BRANCH_NAME_REGEX = /^[A-Za-z0-9\-_]+$/
desc 'start', 'start a new git branch with latest changes from master'
method_option :issue, type: :numeric, aliases: '-i', desc: 'Github issue number'
def start(branch_name = nil)