Update Requestable.js by carterm · Pull Request #653 · github-tools/github

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@carterm

Copy link Copy Markdown

@carterm carterm commented

Jul 19, 2021

I've had issues using Repository.createBlob(buffer) that would cause an exception when looking for response.data in a null response. Adding this check for a null response line allows the code to work for me.

jona385 reacted with thumbs up emoji
I've had issues using `Repository.createBlob(buffer)` that would cause an exception when looking for `response.data` in a null response.  Adding this line allows the code to work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@carterm