Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

Standardize on dest_ or destination_, but not both #17

@gjtorikian

Description

@gjtorikian

Both prefixes are currently being used:

@destination_repo = params[:dest_repo]
halt 500, 'Missing `dest_repo` argument' if @destination_repo.nil?
@payload = JSON.parse(payload_body)
halt 202, "Payload was not for master, was for #{@payload['ref']}, aborting." unless master_branch?(@payload)
@squash = params[:squash]
# keep some important vars
process_payload(@payload)
@destination_hostname = params[:destination_hostname] || 'github.com'

That's silly. Pick one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions