Fix lint
This commit is contained in:
parent
01ad4c0514
commit
70732ac423
@ -108,7 +108,8 @@ var rpcCmd = &cli.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
return send(cctx.Args().Get(0), params)
|
return send(cctx.Args().Get(0), params)
|
||||||
} else {
|
}
|
||||||
|
|
||||||
cctx.App.Metadata["repoType"] = repo.FullNode
|
cctx.App.Metadata["repoType"] = repo.FullNode
|
||||||
if err := lcli.VersionCmd.Action(cctx); err != nil {
|
if err := lcli.VersionCmd.Action(cctx); err != nil {
|
||||||
return err
|
return err
|
||||||
@ -152,7 +153,6 @@ var rpcCmd = &cli.Command{
|
|||||||
_, _ = fmt.Fprintf(os.Stderr, "%v", err)
|
_, _ = fmt.Fprintf(os.Stderr, "%v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user