anfema / work

Use this CLI to create branches, pull requests, changelogs, and more.
3 stars 0 forks source link

add handling of github-error-responses #32

Open Somberland opened 5 years ago

Somberland commented 5 years ago

creating PR without changes in branch:

HttpError: {
    "message":"Validation Failed",
    "errors":[{"resource":"PullRequest","code":"custom","message":"No commits between develop and p.skorpil/3194"}],
    "documentation_url":"https://developer.github.com/v3/pulls/#create-a-pull-request"}
}

ReferenceError: prUrl is not defined