Skip to content

Conversation

@mmarchini
Copy link
Contributor

@mmarchini mmarchini commented Aug 15, 2020

Resolved all remaining deprecations on v15 (convert everything to promises because callbacks were removed), upgraded to v16, fixed tests (the payload format of one request changed and nock was not matching it anymore). I already fixed some deprecations on v16, but didn't commit yet so that the PR is not overwhelming. With this PR we'll have access to createDispatchEvent, which means it will unblock #272.

P.S.: Each commit converts one callback-based function into Promises/async, so the best way to read this PR is going on each commit individually.

This was the last GitHub API call not covered by our tests.
@mmarchini mmarchini requested a review from a team as a code owner August 15, 2020 08:03
@mmarchini
Copy link
Contributor Author

@targos I think I addressed everything :)

@targos
Copy link
Member

targos commented Aug 20, 2020

LGTM

@mmarchini mmarchini merged commit e84d638 into nodejs:master Aug 20, 2020
@mmarchini mmarchini deleted the octokit16 branch August 20, 2020 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants