go-gh icon indicating copy to clipboard operation
go-gh copied to clipboard

fix: handle empty response body

Open nobe4 opened this issue 1 year ago • 0 comments

This PR is a showcase of solution 1 for https://github.com/cli/go-gh/issues/161.

It adds an empty body check before trying to unmarshall it.

nobe4 avatar May 19 '24 14:05 nobe4