UWHealth/netlify-plugin-jest

Update @octokit/rest and update deprecated function use of repos.createStatus

moop-moop opened this issue · 0 comments

Thanks for reporting this bug!

If this is related to a typo or the documentation being unclear, please click on
the relevant page's Edit button (pencil icon) and suggest a correction
instead.

Please search other issues to make sure this bug has not already been reported.

Then fill in the sections below.

Describe the bug

https://octokit.github.io/rest.js/v18#repos-create-commit-status
Has deprecated the repos.createStatus used at:
https://github.com/UWHealth/netlify-plugin-jest/blob/develop/src/main.js#L86

  • Need to update the npm package for @octokit/rest to >=18 and change function call above to repos.createCommitStatus

Can you submit a pull request?

Yes

Pull requests are welcome! If you would like to help us fix this bug, please
check our contributions guidelines.