chore: deps: bump xerrors / fix lint (#12438)

This commit is contained in:
Peter Rabbitson
2024-09-07 23:43:15 +02:00
committed by GitHub
parent 6b03326888
commit a83d02efba
29 changed files with 84 additions and 70 deletions

View File

@ -26,7 +26,7 @@ func InteractiveSend(ctx context.Context, cctx *cli.Context, srv ServicesAPI,
msg, checks, err := srv.PublishMessage(ctx, proto, cctx.Bool("force") || cctx.Bool("force-send"))
printer := cctx.App.Writer
if xerrors.Is(err, ErrCheckFailed) {
if errors.Is(err, ErrCheckFailed) {
if !cctx.Bool("interactive") {
_, _ = fmt.Fprintf(printer, "Following checks have failed:\n")
printChecks(printer, checks, proto.Message.Cid())