fix: set octokit log option to {} instead of null#1237
Merged
webpro merged 1 commit intorelease-it:mainfrom Jul 16, 2025
Merged
fix: set octokit log option to {} instead of null#1237webpro merged 1 commit intorelease-it:mainfrom
webpro merged 1 commit intorelease-it:mainfrom
Conversation
probably fixes: release-it#1191
commit: |
jaygane
approved these changes
Jul 14, 2025
|
@efstathiosntonas Ok to merge? |
Contributor
Author
|
@johnnydegreefitp yes, been using the fix for a while with no issues. ps. I can't merge |
Collaborator
|
Thanks, Statis! 🚀 |
Contributor
Author
|
@webpro anytime! we should update the error logic a bit, it throwed invalid github token while the issue was deeper than that, only |
Collaborator
|
Feel free to take a stab at it, hopefully the code is somewhat understandable. |
Collaborator
|
🚀 This pull request is included in v19.0.4. See Release 19.0.4 for release notes. |
3 tasks
alexandriashai
added a commit
to alexandriashai/cbrowser
that referenced
this pull request
Feb 7, 2026
Fixes GitHub release creation error:
"Cannot read properties of null (reading 'debug')"
Root cause: octokit logger was set to null instead of {}
Fix: release-it/release-it#1237
- release-it: 17.0.0 → 19.2.4
- @release-it/conventional-changelog: 8.0.0 → 10.0.5
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
probably fixes:
side note:
For some reason the octokit logger will not
initializedefault to{}when it's nullthis is from
node_modules/@octokit/core/dist-src/index.js🤷