Skip to content

refactor(cmds): do not return errors embedded in result type #6241

refactor(cmds): do not return errors embedded in result type

refactor(cmds): do not return errors embedded in result type #6241

Triggered via pull request November 20, 2024 03:59
Status Failure
Total duration 30s
Artifacts

golang-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
go-check: core/commands/pin/remotepin.go#L296
assignment mismatch: 2 variables but lsRemote returns 1 value
go-check: core/commands/pin/remotepin.go#L296
not enough arguments in call to lsRemote
go-check: core/commands/pin/remotepin.go#L350
too many return values
go-check: core/commands/pin/remotepin.go#L350
too many arguments in call to c.Ls
go-check: core/commands/pin/remotepin.go#L402
assignment mismatch: 2 variables but lsRemote returns 1 value
go-check: core/commands/pin/remotepin.go#L402
not enough arguments in call to lsRemote
go-check: core/commands/pin/pin.go#L561
undefined: iface
go-check: core/commands/pin/pin.go#L566
cannot use opt (variable of type "github.com/ipfs/kubo/core/coreiface/options".PinLsOption) as chan<- iface.Pin value in argument to api.Pin().Ls
go-check
cannot use (*UnixfsAPI)(api) (value of type *UnixfsAPI) as iface.UnixfsAPI value in return statement: *UnixfsAPI does not implement iface.UnixfsAPI (wrong type for method Ls)
go-check
not enough arguments in call to lsRemote