mirror of
https://github.com/filecoin-project/lotus.git
synced 2025-05-17 15:20:37 +08:00
chore: deps: bump xerrors / fix lint (#12438)
This commit is contained in:
@ -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())
|
||||
|
Reference in New Issue
Block a user