debugged sudden failure to download sarif results. Cause: gh.HTTPClient(nil)

Switch
client, err := gh.HTTPClient(nil)
to
client := &http.Client{}
and everything works again
This commit is contained in:
2025-05-19 13:50:41 -07:00
parent 68dba0ce37
commit ff10400706
3 changed files with 61 additions and 14 deletions

View File

@@ -79,6 +79,8 @@ func main() {
os.Exit(1)
}
log.Printf("logging verbosity level: %s", *logLevel)
var transport = &loghttp.Transport{
Transport: http.DefaultTransport,
LogRequest: LogRequestDump,