Go-github: I think the condition "resp.ContentLength == -1" isn't needed because "-1" < "2048"

Created on 10 Sep 2020  路  3Comments  路  Source: google/go-github

All 3 comments

Yes, that is true, and we have an open PR addressing that issue: https://github.com/google/go-github/pull/1615/files

@gmlewis I think this issue can be closed now, code in question has been removed : https://github.com/google/go-github/commit/c5b0f2133dafff1990647022a89886d173e3d7e6

Good call, @chughpiyush .
Closing issue as obsolete.

Was this page helpful?
0 / 5 - 0 ratings