We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug Since @octokit/request@2.1.0, deprecation warnings pops up so it would be ideal to update the relevant code snippet.
@octokit/request@2.1.0
To Reproduce Steps to reproduce the behaviour:
yarn test
npm test
test/utils/getUserDetails.test.js
test/index-e2e.test.js
console.warn
Expected behaviour This shouldn't be happening
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
console.warn node_modules/@octokit/request/lib/http-error.js:15 `error.code` is deprecated, use `error.status`.
The text was updated successfully, but these errors were encountered:
fix: changed error.code to error.status (#54)
error.code
error.status
166dab5
Due to deprecation warnings, I changed the `code` attribute to `status` to fix [ac-bot#54](all-contributors#54).
fix: changed error.code to error.status (#54) (#55)
e858124
Due to deprecation warnings, I changed the `code` attribute to `status` to fix [ac-bot#54](#54).
🎉 This issue has been resolved in version 1.0.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
Sorry, something went wrong.
879d87b
Due to deprecation warnings, I changed the `code` attribute to `status` to fix [ac-bot#54](all-contributors/app#54).
Successfully merging a pull request may close this issue.
Describe the bug
Since
@octokit/request@2.1.0
, deprecation warnings pops up so it would be ideal to update the relevant code snippet.To Reproduce
Steps to reproduce the behaviour:
yarn test
ornpm test
test/utils/getUserDetails.test.js
,test/index-e2e.test.js
console.warn
outputs.Expected behaviour
This shouldn't be happening
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The text was updated successfully, but these errors were encountered: