Skip to content

handlematrix,handletwit: Edit messages and receive edits #17

handlematrix,handletwit: Edit messages and receive edits

handlematrix,handletwit: Edit messages and receive edits #17

Triggered via push October 11, 2024 23:23
Status Failure
Total duration 36s
Artifacts

go.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint (old): pkg/twittermeow/messaging.go#L181
call of Unmarshal passes non-pointer as second argument
Lint (old): pkg/connector/startchat.go#L60
conversion from int64 to UserID (string) yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
Lint (old): pkg/connector/startchat.go#L50
should omit comparison to bool constant, can be simplified to !perms.CanDm (S1002)
Lint (old): pkg/twittermeow/messaging.go#L181
json.Unmarshal expects to unmarshal into a pointer, but the provided value is not a pointer (SA1014)
Lint (old)
Process completed with exit code 1.
Lint (latest): pkg/twittermeow/messaging.go#L181
call of Unmarshal passes non-pointer as second argument
Lint (latest): pkg/connector/startchat.go#L60
conversion from int64 to UserID (string) yields a string of one rune, not a string of digits
Lint (latest): pkg/connector/startchat.go#L50
should omit comparison to bool constant, can be simplified to !perms.CanDm (S1002)
Lint (latest): pkg/twittermeow/messaging.go#L181
json.Unmarshal expects to unmarshal into a pointer, but the provided value is not a pointer (SA1014)
Lint (latest)
Process completed with exit code 1.