feat: review command #332
Open
feat: review command #332
Annotations
6 errors
internal/scm/pullrequest.go#L105
[golangci] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
internal/scm/pullrequest.go:105: File is not `gofmt`-ed with `-s` (gofmt)
)
|
internal/scm/gitea/gitea.go#L493
[golangci] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
internal/scm/gitea/gitea.go:493: File is not `gofmt`-ed with `-s` (gofmt)
var state gitea.ReviewStateType
|
internal/scm/github/github.go#L641
[golangci] reported by reviewdog 🐶
File is not `gofmt`-ed with `-s` (gofmt)
Raw Output:
internal/scm/github/github.go:641: File is not `gofmt`-ed with `-s` (gofmt)
var event string
|
tests/vcmock/vcmock.go#L103
[golangci] reported by reviewdog 🐶
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Raw Output:
tests/vcmock/vcmock.go:103:46: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
func (vc *VersionController) DiffPullRequest(ctx context.Context, pullReq scm.PullRequest) (string, error) {
^
|
tests/vcmock/vcmock.go#L108
[golangci] reported by reviewdog 🐶
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Raw Output:
tests/vcmock/vcmock.go:108:56: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
func (vc *VersionController) IsPullRequestApprovedByMe(ctx context.Context, pullReq scm.PullRequest) (bool, error) {
^
|
tests/vcmock/vcmock.go#L113
[golangci] reported by reviewdog 🐶
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Raw Output:
tests/vcmock/vcmock.go:113:48: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
func (vc *VersionController) ReviewPullRequest(ctx context.Context, pullReq scm.PullRequest, action scm.Review, comment string) error {
^
|
The logs for this run have expired and are no longer available.
Loading