Skip to content

github sdk: add withClient options so we can override the default client, useful for adding unit tests with httptest.NewServer #1862

github sdk: add withClient options so we can override the default client, useful for adding unit tests with httptest.NewServer

github sdk: add withClient options so we can override the default client, useful for adding unit tests with httptest.NewServer #1862

Triggered via pull request February 3, 2025 12:17
Status Failure
Total duration 1m 38s
Artifacts

style.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
golangci-lint: modules/github-bots/sdk/github_test.go#L55
unused-parameter: parameter 'origClient' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint
issues found
Lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
Lint
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.