Skip to content

fix: MM remote improvements #3792

fix: MM remote improvements

fix: MM remote improvements #3792

Re-run triggered October 11, 2024 20:37
Status Failure
Total duration 1m 30s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: remote/mattermost/remote.go#L230
Error return value of `c.sendDirectMessage` is not checked (errcheck)
build: remote/mattermost/remote.go#L293
`responce` is a misspelling of `response` (misspell)
build: remote/mattermost/remote.go#L292
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
build: remote/mattermost/remote.go#L71
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
build: remote/mattermost/remote.go#L187
unused-parameter: parameter 'bot' seems to be unused, consider removing or renaming it as _ (revive)
build: remote/mattermost/remote.go#L267
context-as-argument: context.Context should be the first parameter of a function (revive)
build: remote/mattermost/remote.go#L288
context-as-argument: context.Context should be the first parameter of a function (revive)
build: remote/mattermost/remote.go#L245
unnecessary trailing newline (whitespace)
build: remote/mattermost/remote.go#L221
unnecessary trailing newline (whitespace)
build: remote/mattermost/remote.go#L232
unnecessary trailing newline (whitespace)