mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
cmd: fix staticcheck warings QF1012
This commit is contained in:
parent
447b5f7e19
commit
fbc9ca0ee6
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ func remoteConsole(ctx *cli.Context) error {
|
||||||
func ephemeralConsole(ctx *cli.Context) error {
|
func ephemeralConsole(ctx *cli.Context) error {
|
||||||
var b strings.Builder
|
var b strings.Builder
|
||||||
for _, file := range ctx.Args().Slice() {
|
for _, file := range ctx.Args().Slice() {
|
||||||
b.WriteString(fmt.Sprintf("loadScript('%s');", file))
|
fmt.Fprintf(&b, "loadScript('%s');", file)
|
||||||
}
|
}
|
||||||
utils.Fatalf(`The "js" command is deprecated. Please use the following instead:
|
utils.Fatalf(`The "js" command is deprecated. Please use the following instead:
|
||||||
geth --exec "%s" console`, b.String())
|
geth --exec "%s" console`, b.String())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue